What is viewstate?

Answers were Sorted based on User's Feedback



What is viewstate?..

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

What is viewstate?..

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

What is viewstate?..

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

What is viewstate?..

Answer / yahoo

hathi.

Is This Answer Correct ?    2 Yes 0 No

What is viewstate?..

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

What is viewstate?..

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

Post New Answer

More ASP.NET Interview Questions

Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe

1 Answers  


What kind of programming language is ASP.NET?

0 Answers   3i Infotech,


how to use web services with code?(with example code)

1 Answers   Accenture,


What is Web Services?How we can consume a Web Services in our application?Explain.

1 Answers   Religare,


Explain Optimization technique description?

0 Answers   Digital GlobalSoft,






Is it possible to disable the minimized icon of a popup window using window.open. Not using iframe concept?

3 Answers   AFAS, Take United,


what is the deference between dataset and data adapter?

4 Answers   TCS,


What is hidden field in asp.net?

0 Answers  


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?

0 Answers  


What is difference between view and partial view?

0 Answers  


what are the events raised in asp.net page life cycle?in which stage view state can be loaded?

0 Answers   EDS,


Categories