Define ViewState and how can it be used?
Answers were Sorted based on User's Feedback
Answer / srujana
ViewState stores the objects serializable in a hidden field
on the page.
ViewState is used to retain the state of server-side
objects between postbacks.
Viewstate is transported between client and the server.
| Is This Answer Correct ? | 31 Yes | 10 No |
Answer / lalit
to put it in simple terms viewstate is used for maintaining
the state of the control or the page during postback
| Is This Answer Correct ? | 25 Yes | 5 No |
Answer / pavan
ViewState is the mechanism that allows state values to be preserved across page postbacks.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / nazeer
when client makes a request for a page, asp.net process the
@server and gets result.
All this result of controls are concatnated into one string.
This string converted to base64 encodining format and
stored in hidden field called "viewstate"
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / suresh
When a form is submitted in ASP .NET, the form reappears in
the browser window together with all form values. How come?
This is because ASP .NET maintains your ViewState. The
ViewState indicates the status of the page when submitted
to the server.
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / shiva
viewstate is built in structure for automatically retail
the values among the multiple request for the same page.
view state is internally maintain as a hidden field butis
hashed.
| Is This Answer Correct ? | 7 Yes | 7 No |
how to use html code in asp source code?
Name the tools or API for developing or testing web api?
Difference between Response.Expires and Expires.Absolute ?
1 Answers Accenture, BirlaSoft,
What is ViewState and How it is managed,Its Advantages/Benefits?
How does ASP.NET framework maps client side events to Server side events.?
Explain the role of global.asax?
In how many ways we can retrieve table records count?
What is a web based system?
Why do we need Web Services?
How do I open an ashx file?
What is slidemaster?
What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc
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)