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 |
where can i gather the materials for MCP certification
Can you explain what inheritance is and an example of when you might use it?
Where is asp.net view state stored?
What is a proxy in web service?
What is the concept of view state in asp.net?
Types of values mode can hold session state in Web.Config?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
What is a page life cycle?
Difference between Active Exe and Activex dll ?
How can we identify that the Page is Post Back?
What are session state modes? List some of the important session state modes of asp.net.
Explain repository pattern in asp.net mvc? : asp.net mvc
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)