C
Clodoaldo
I'm trying to get a reference to a ListBox inside a DataList without
success. It always returns null.
I need to have a reference to the ListBox in Load time in order to
bind it to data.
This is the best I can do:
ListBox listBox = (ListBox)
(((DataList)this.Page.FindControl("DataList_1")).FindControl(listBoxID));
Any ideas?
success. It always returns null.
I need to have a reference to the ListBox in Load time in order to
bind it to data.
This is the best I can do:
ListBox listBox = (ListBox)
(((DataList)this.Page.FindControl("DataList_1")).FindControl(listBoxID));
Any ideas?