what is view state

Answer Posted / deepak bajpai

In ASP.NET pages, the view state represents the state of
the page when it was last processed on the server. It's
used to build a call context and retain values across two
successive requests for the same page. By default, the
state is persisted on the client using a hidden field added
to the page and is restored on the server before the page
request is processed. The view state travels back and forth
with the page itself, but does not represent or contain any
information that's relevant to client-side page display. In
this column, I'll take a tour of the view state
implementation in ASP.NET and show how to keep your Web
pages fit and trim and a bit more secure.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the flow of processing of the request? : asp.net mvc

537


Can you explain how ASP.NET application life cycle and page life cycle events fire?

568


What are the layouts of ASP.NET Pages?

619


Is it right that ASP.NET Web API has replaced WCF?

512


What are the 3 types of web?

508






What is a viewbag?

509


What are sessions in asp net?

527


What is globalization and localization in asp net?

496


Difference between using directive vs using statement?

510


What is the difference between dynamic SGA and static SGA?

587


Explain how can we access static variable?

550


What is the difference between user control an custom control?

617


What symbol specifies the beginning of a query string?

537


Distinguish between Server-side and Client-side code?

554


What is route in web api?

535