How would I go about persisting a Server Controls viewstate when a page refreshes?
eg.
Dropdownlist gets selected on second item.
Any other server controls postbacks do not alter the selected item in the Dropdownlist.
But when I refresh or client-script a 'document.location' back to the same page. The default index is selected and viewstate is lost.
Is there a way to prevent loss of viewstate or to re-allocate this viewstate?
eg.
Dropdownlist gets selected on second item.
Any other server controls postbacks do not alter the selected item in the Dropdownlist.
But when I refresh or client-script a 'document.location' back to the same page. The default index is selected and viewstate is lost.
Is there a way to prevent loss of viewstate or to re-allocate this viewstate?