Home All Groups Group Topic Archive Search About

Best way to save properties (ie. text) on webcontrols for reloading (asp.net 2.0)

Author
28 Jun 2006 7:16 PM
Vili
Hi

What would be the best way to save for example text on a textbox and
load it back after visiting another page? I am trying to make a page
with a textbox and a button. The button would redirect user to another
page with with maybe a checkbox list or a something similar. After the
selections are made the user is sent (maybe a submit button) back to the
original page with the textbox filled with selected items.

I am at the moment going for sessions and putting all the data there for
  transporting between pages, but I am wondering if it is the best way
to do this. Any hints would be appreciated

Thanks

Tuomo

Author
30 Jun 2006 9:46 AM
Alessandro Zifiglio
hi Tuomo,
try the following resource :
http://msdn2.microsoft.com/en-us/library/ms178139.aspx
Regards,
Alessandro Zifiglio
Show quoteHide quote
"Vili" <tu***@eitoimi.fi.invalid> ha scritto nel messaggio
news:44a2d5d8$0$14356$9b536df3@news.fv.fi...
> Hi
>
> What would be the best way to save for example text on a textbox and load
> it back after visiting another page? I am trying to make a page with a
> textbox and a button. The button would redirect user to another page with
> with maybe a checkbox list or a something similar. After the selections
> are made the user is sent (maybe a submit button) back to the original
> page with the textbox filled with selected items.
>
> I am at the moment going for sessions and putting all the data there for
> transporting between pages, but I am wondering if it is the best way to do
> this. Any hints would be appreciated
>
> Thanks
>
> Tuomo