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 |
What is content place holder?
What is versioning in .NET?
1 Answers Syntax Softtech, Wipro,
how to send mail in asp.net
Name and describe some HTTP Status Codes and what they express to the requesting client ?
How to implement caching?
how can i insert array values and retreive in asp.net
Caching techniques in .NET?
What is content page in asp net?
Explain a program using code nuggets to create a simple application? : asp.net mvc
What is asp.net and ado net?
How can you access the properties and controls of master pages from content pages?
What are the session variables?