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 |
What is custom events? How to create it?
Explain how is the asp.net mvc architecture different from others? : asp.net mvc
why should i use FormsAuthentication.RedirectFromLoginPage (); Method in Form Authentication?Without using this method also it's good??
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?
what is session ?how sessions are handeled in application? write the clauses of sql server in their order.
what is use of web.config?
What is globalization and localization in asp net?
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? />
when using personlization, how do you access over setting at runtime?
What is the difference between Server.Transfer and Response.Redirect? Why would you choose one over the other?
Explain what does wsdl stand for?
Can the dictionary object be created in client?s scope ?