Define ViewState and how can it be used?

Answers were Sorted based on User's Feedback



Define ViewState and how can it be used?..

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

Define ViewState and how can it be used?..

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

Define ViewState and how can it be used?..

Answer / pavan

ViewState is the mechanism that allows state values to be preserved across page postbacks.

Is This Answer Correct ?    9 Yes 0 No

Define ViewState and how can it be used?..

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

Define ViewState and how can it be used?..

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

Define ViewState and how can it be used?..

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

Post New Answer

More ASP.NET Interview Questions

What are the difference between function and stored procedure in .net programming language?

0 Answers  


What is difference between session and viewstate?

0 Answers  


What are the session variables?

0 Answers  


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?

0 Answers  






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?

1 Answers  


What is the difference between rest and restful?

0 Answers  


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.

6 Answers   Syntax Softtech,


What is application Object?

0 Answers   Infogain,


What are Sticky Sessions?

2 Answers   Infosys,


With out Web.config can we executes the application?

10 Answers   Valtech,


Categories