State of the asp.net web-page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Guys,

I have got a few Listbox bontrols on my web-page. When I select a certain
list, further selection is possible from the other listboxes. The problem is
that whenever I get transferred to another page, I do some more work, but
when I get back to the original page all my selection of the Listboxes has
resetted again, which is quite annoying for the users of my site.

Is there anyway in asp.net, that I when I go back to the original page, it
maintains its last state, so the user knows what he was doing ?

Many thanks,

I..A
 
If you want to keep the information user entered on that page so you later
repopulate it when the user goes back to that page, you can use Session for
that.
 
can you please elaborate on that ?

Tu-Thach said:
If you want to keep the information user entered on that page so you later
repopulate it when the user goes back to that page, you can use Session for
that.
 
you have to put selected listbox values into session , and then when page is
loaded again check session if there is something in session and make
selected values of the listboxes to that values.There is no automatic way to
do that.
 
Back
Top