Listbox retain value after page refresh
Hi all,
I have a list box and several buttons in my pages (asp.net + C#). When I click on one of the buttons, the page gets refreshed and the selected item in the listbox becomes reset to the first values.
How do I retain the listbox selected item value even after click the button (page refresh). The Enableviewstate of the listbox is true only. Also note, that the listbox values are dynamically populated.
Kindly help.
Regards,
tvks
|