When a page is post back by itself, the view state will automatically be saved and read.
But is the page is post to another page, and then call back by that page, can we reserve the state ?
![]() |
0 |
![]() |
ad_flying wrote:
When a page is post back by itself, the view state will automatically be saved and read.
But is the page is post to another page, and then call back by that page, can we reserve the state ?
I don't think so, whats the purpose for that?
Richard Xin
MCAD(charter member),MCDBA,MCSD
Web Site: www.richardxin.com (For ASP.Net tips and Code snippet)
![]() |
0 |
![]() |
I have seen this implementation at one client place. Here is work around.
When you post the page to another page , serialize the viewstate in session variable
and when you return to page, deserialize from session place.
Hope this helps,
Vick
http://vikasnetdev.blogspot.com
![]() |
0 |
![]() |