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 is content place holder?

0 Answers  


What is versioning in .NET?

1 Answers   Syntax Softtech, Wipro,


how to send mail in asp.net

2 Answers  


Name and describe some HTTP Status Codes and what they express to the requesting client ?

1 Answers  


How to implement caching?

2 Answers   Infosys, Microsoft,






how can i insert array values and retreive in asp.net

3 Answers   TCS, Value Labs,


Caching techniques in .NET?

2 Answers   Microsoft,


What is content page in asp net?

0 Answers  


Explain a program using code nuggets to create a simple application? : asp.net mvc

0 Answers  


What is asp.net and ado net?

0 Answers  


How can you access the properties and controls of master pages from content pages?

0 Answers  


What are the session variables?

0 Answers  


Categories