Your definition is incorrect. View state is not maintained across pages. the formal definition is: Gets or sets a value indicating whether the page maintains its view state, and the view state of any server controls it contains, when the current page request ends.
If you're navigating to another page, you'll have to use something other than viewstate.
Discussion on:
View:
Show:
The article never said view state is maintained across pages. It said "across requests". On the same page. The view state definition in your comment is wrong, as it uses the term to define the term. Any ASP.net developer knows that view state does not persist to another page, as that would make no sense at all.
Hey here is a link which will definately clear out your confusion about asp.net. Here the link is: http://blog.oureducation.in/important-question-about-asp-net/
- Keyboard Shortcuts:
- Prev
- Next
- Toggle

































