-
User Control
Hi!
I have made a User Control which has a dropdownlist box. I have included that dropdownlist in my page through the following code in my page_load event.
Code:
Control myControl =(Control)Page.LoadControl (DropDownList.ascx");
Panel1.Controls.Add(myControl);
Now, I want to access the items of the dropdownlist in my page. How to do that.
Viewing source of the page shows me this:
HTML Code:
<select name="_ctl0:cboDataBase" id="_ctl0_cboDataBase" style="width:144px;">
<option selected="selected" value="gsportal">gsportal</option>
<option value="test">test</option>
</select>
-
Re: User Control
sorry if I cant help, but try asking it in this forum, you may get a faster response :)
http://vbforums.com/forumdisplay.php?f=31