Viewstate?

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

My page has a few listbox controls and a datalist. After
making selections from the listboxes, you hit submit and
have the datalist populated.

I also created custom paging for the datalist as well.
The problem is that the selections aren't being saved
when I click the hyperlinks when paging. I have enabled
view state set to true. What else is needed to retain
the selections?

Thanks.
 
I had the same problem and could not find any direct way of restoring the selection, So I wrote a code on the server side to output javascript which will run on body load and select the list items.
 
Back
Top