Options for dynamically loading controls based on selection in asp.net 2.0
I have a requirement for loading certain web controls based on dropdownlist selection value(consider senario like cascading drop down). Currently I am showing/hiding div's according to option selected. On selecting a value certain div's will be shown and some div's will be hidden.
But the burden increases when the option for selection value increases, which inturn increases the number of div's to be created(For example, if i have values like A,B,C.......Z in a dropdown, on selecting A some controls has to loaded, on selecting B some other controls will be loaded....so on...).
Is there any other option other than creating dynamic controls in code behind, in order to load certain controls based on dropdownlist selection.
Language: asp.net 2.0
|