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 |
In how many ways we can retrieve table records count?
What are different types of api?
Are cookies client side or server side?
Hi please tell me what is ISNOTPOSTBACK,POSTBACK,AUTOPOSTBACK and also the extensions of aspx,asmx,ascx its urgent plz reply me soon....
Project Architecture (3tier, n-tier)
What are server-side comments in ASP.NET?
write a sample code make use of xmltext writer
how to create bin folder in asp.net2.0
How do active server pages work?
what is diffgram ?
Which method do you invoke on the DataAdapter control to load your generated dataset with data?
What is difference between asp.net and asp.net mvc? : Asp.Net MVC