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 are the difference between function and stored procedure in .net programming language?
What is difference between session and viewstate?
What are the session variables?
What are the different types of events are occured when a client requests an ASP.NET page from IIS server?
0 Answers Sans Pareil IT Services,
What is asp.net localization?
How to Separate background image and front image from original picture....
0 Answers Sans Pareil IT Services,
Which @page directive should you create an asynchronous page?
What is the difference between rest and restful?
When would you not use the oleDbConnection object? a) To connect to an SQL 7.0 database. b) To connect to a DB/2 database. c) To connect to an Access database. d) To connect to an SQL 6.5 database.
What is application Object?
What are Sticky Sessions?
With out Web.config can we executes the application?