0
Hi Siva,
Please note that the controls that are dynamically created will be lost on each postback. So, for every postback, you need to do the following.
- Create the dropdown.
- Maintain the data that you would like bind to dropdown on each postback. probably use ViewState or Session to maintain the data that you would like to retain across postbacks.
- Bind the data to dropdown.
Thanks,
Prawin
0
Hi
check the link
http://www.aspsnippets.com/Articles/Creating-Dynamic-DropDownList-Controls-in-ASP.Net.aspx
0
Hi,
Please check below links -
http://www.aspsnippets.com/Articles/Creating-Dynamic-DropDownList-Controls-in-ASP.Net.aspx
http://techbrij.com/create-dynamic-dropdownlists-in-asp-net