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.
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.