The best approach for a user control with dropdownlists

G

Guest

I need to design a user control that will contain multiple dropdownlists. I
am trying to determine the best approach to do this. I could expose every
property that is necessary for all of the dropdownlists or I could expose
methods that users could pass in values and specify which dropdownlist the
values pertain to? So for example,

SelectDropdownChoice(MyID,"Dropdownlist3")

or

Myusercontrol.Dropdownlist3.selectedchoice = MyID

Which approach would be most logical? Any help would be greatly appreciated.
 

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

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top