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 3 levels at which content pages can be attached to Master Page?

0 Answers   MCN Solutions,


Have you used microsoft dataaccess blocks and Exception blocks?

1 Answers   Microsoft,


What is true about application service provider?

0 Answers  


What is the result when the Web Form containing the following line is complied and executed? <asp:Button id=?thebutton? onClick=?theEvent? /> a) The button control is created; theEvent is the click event handler. b) Compiler error; the control must be set to runat=?server?. c) Compiler error; onClick is not a valid attribute. d) Runtime Exception; the control must be set to runat=?server?.

3 Answers   Syntax Softtech,


What is the adavantage of using ASP.NET routing?

0 Answers   NA,






How can we pass info between 2 asp.net pages?

0 Answers  


Why asp.net is used?

0 Answers  


What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.

0 Answers  


Explain how dot net compiled code will become platform independent?

0 Answers  


What is web.config. How many web.config files can be allowed to use in an application ?

10 Answers   Accenture, BirlaSoft, Infosys, InterGraph, Satyam, Wipro,


hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.

0 Answers  


Explain what a diffgram is, and a good use for one?

2 Answers  


Categories