I have a scenario whereby the user needs to choose values from a list. On occasions, only 1 value is needed. On other occasions, multiple values are required.
Currently I am using both a radioButtonList and a checkBoxList, and display the correct list each time depending on the requirements. To save code however, is it possible to use only 1 list, and change it's type each time? Or is there a better way to accomplish this??