Create dynamically dropdownlist with change index in UserControl (

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need your help guys on urgent basis.

I have to create a couple of dropdownlist dyanmically in webuser control
with selected change event. I have gone through couple of web pages but i did
not get complete implementation for C#.

I know i have to create in page init method but i am looking for complete
example.

Can you help me pls?
 
Padam,

A control has a Controls property which has the controls collection for
a particular control. You can call the Add method to add the dropdowns that
you need dynamically.

Hope this helps.
 
I think i tried this one (controls and all). Can you explain in more details
pls?

Regards,
Padam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top