What is viewstate?
Answers were Sorted based on User's Feedback
Answer / supriya
Item stored in ViewState exist for the life of the current
page.This includes postbacks (to the same page).
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / nithya
ViewStates are nothing but hidden fields genereted by
asp.net at runtime to maintain the state of the (Controls)
object. We can maintain viewstate in three levels.
Application level,Page Level,Control level. For this
EnableViewState property should be true.
These viewstates will be availble only in the page.If the
page will get expire this also will be expire in runtime.
We can maintain viewstate with in the page only.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / ghouse basha shaik
ViewState is the process of maintaining control properties
after postback implemenation. This is done internal using
Hidden fields.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / sivadatta kodali
This concept comes in the state management.For Asp.net
server controls implicitly the state of control will be
maintained with the support of viewstate.View state will
maintain some information at the Html Hiddenfield and the
will be Encrypted.
If u want to set the value explicitly.
viewstate["Key"]=value;
If u want to Read the value from the viewstate
viewstate["key"].Tostring();
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ganesh
ViewStates are nothing but hidden fields genereted by
asp.net at runtime to maintain the state of the (Controls)
object. We can maintain viewstate in three levels.
Application level,Page Level,Control level. For this
EnableViewState property should be true.
These viewstates will be availble only in the page.If the
page will get expire this also will be expire in runtime.
We can maintain viewstate with in the page only.
-------------------------
| Is This Answer Correct ? | 0 Yes | 0 No |
How may clustered index we can create in table?
How to set the pane area to transparent of a scrollPane component.?
What types of data validation events are commonly seen in the client-side form validation?
What is the difference between table and query?
What is the purpose of each of the validation controls provided by ASP.NET?
What is the difference between equals() and == in c#?
How to implement form based authentication in asp.net application?
What is postback pixel?
What is the use of placeholder control? Can we see it at runtime?
The technical part was on ASP.Net only of web services.
What are the different properties of server control that exists?
What is custom events? How to create it?
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)