what is view state
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / nitya
ViewState is a concept of maintaining controls properties
under postback implementation.it can be implemented in the
form of hidden field.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rajeev
it is the internal structure, automatically retains value
of the controls in the hidden fields on the page.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / kalpana reddy
It is the process of maintaing controls data under postback
implimentation.It can be implimented by using Hidden field.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sudheekar reddy
Viewstate is provided as a concept and also as an object.
in ASP.NET al controls that require state to retain their
values during round trips are implicitly maintained by
ASP.NET.
When client makes a request for a page, asp.net process
the page at server and gets the processed results. These
results r concatenated into one string. The string is
converted into base64 encoding format and stored in a
HIDDEN FIELD, which is called VIEWSTAT.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of placeholder control? Can we see it at runtime?
What is a Windows Service and how does its lifecycle differ from a "standard" EXE?
How can u handle Exceptions in Asp.Net?
What is the difference between CC and BCC?
What is difference between ispostback and autopostback in asp net?
What is the difference between web.config and machine.config in ASP.NET?
what is the assembly?
WHAT IS THE SEQUENCE IN WHICH ASP.NET EVENTS IS PROCEED?
how can i call output parameters from ado.net
What are the elements of a website?
What are session state modes in asp.net?
What is variable and constant in .net programming language?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)