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

What is custom events? How to create it?

0 Answers  


Explain how is the asp.net mvc architecture different from others? : asp.net mvc

0 Answers  


why should i use FormsAuthentication.RedirectFromLoginPage (); Method in Form Authentication?Without using this method also it's good??

2 Answers  


What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?

0 Answers  


what is session ?how sessions are handeled in application? write the clauses of sql server in their order.

3 Answers   Olive Tech,






what is use of web.config?

3 Answers  


What is globalization and localization in asp net?

0 Answers  


What definition correctly defines a label server control with the name set to lblHoop? a) <asp:Label name=?lblHoop? runat=?server? /> b) <Label id=?lblHoop? runat=?server? /> c) <asp:Label id=?lblHoop? runat=?server? /> d) <server label name=?lblHoop? runat=?asp? />

3 Answers   Syntax Softtech,


when using personlization, how do you access over setting at runtime?

1 Answers  


What is the difference between Server.Transfer and Response.Redirect? Why would you choose one over the other?

26 Answers   Syntax Softtech,


Explain what does wsdl stand for?

0 Answers  


Can the dictionary object be created in client?s scope ?

0 Answers   Satyam,


Categories