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 |
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe
What kind of programming language is ASP.NET?
how to use web services with code?(with example code)
What is Web Services?How we can consume a Web Services in our application?Explain.
Explain Optimization technique description?
Is it possible to disable the minimized icon of a popup window using window.open. Not using iframe concept?
what is the deference between dataset and data adapter?
What is hidden field in asp.net?
You are using the try? catch block seen in the following code segment, but no exceptions are ever caught by the catch block. What is the problem? SqlConnection cn =new sqlConnection(strSQL); SqlDataSet ds; try { cn.open(); //perform the data processing steps ??.. } catch (OleDbException e) { ?.. } a) The exception class is wrong; it should be sqlErrors. b) The exception class is wrong; it should be sqlSyntaxExceptios. c) The exception class is wrong; it should be sqlExceptions. d) The exception class is wrong; it should be sqlExcptions.
2 Answers Microsoft, Syntax Softtech,
What are validator? Name the validation controls in asp.net?
What is difference between view and partial view?
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?