Viewstate?

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top