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 |
Why is validation always done on the server? When does that occur?
How does Garbage collector(GC) works in .net
14 Answers Accenture, HCL, Kekran Mekran, People Tech, Wipro,
What is session object? Describe in detail.
Can you use Web API with ASP.NET Web Form?
What is Active Directory? What is the namespace for that?
In this case if exception occure in Database which catch block will be exexcuted?
If you are using two select queries and retrieving data. how do you access second query's result set using data reader?
1 Answers Cap Gemini, Keane India Ltd, MindSquare,
If you have to replicate a set of controls(UI) across a number of web pages, what will you do
Why is catch(Exception) almost always a bad idea?
What is strong-typing versus weak-typing?
What are custom user controls in asp.net?
what is view state
5 Answers Microsoft, Siebel Systems,
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)