|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Accessing multiple instances of a control on a formHi,
I have a form with multiple instances of a dropdownlist user control. How can I access the selected value of each in my aspx.cs? Thanks Vivek You can loop through all the controls of a specific type on your form with a
recursive function such as this: http://SteveOrr.net/faq/ControlTreeRecursion.aspx Show quoteHide quote "Vivek Sharma" <viv***@xtra.co.nz> wrote in message news:%23nhF$9lYFHA.1092@tk2msftngp13.phx.gbl... > Hi, > > I have a form with multiple instances of a dropdownlist user control. How > can I access the selected value of each in my aspx.cs? > > Thanks > Vivek >
DATASET DATAGRID ITEMINDEX DATASETINDEX
How can I get selected Checklistbox Items to Literal in Placeholde FindControl by type? ASP.NET absolute path to file ASP.NET Tree View Control howto: bubble-up events ascx event to parent aspx: howto ? Problems with HTMLInputFile Control Type.GetType("System.Web.UI....) Web server controls not shown on a web form |
|||||||||||||||||||||||