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 break mode?
which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites
Suppose i create one application in vs 2008 and it is running in the latest version of IE,will it run in netscape and other browsers with low version?
Where session id is stored?
What are the different types of proxy patterns?
What are sessions in asp net?
If you have to replicate a set of controls(UI) across a number of web pages, what will you do
differences between class inheritance and interface?
What type of code (server or client) is found in a Code- Behind class?
What are the event handlers that can be included in the Global.asax file?
How can we Maintain more than on config file in one .Net web application and how?
Is oauth for authentication or authorization?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)