what is view state
Answers were Sorted based on User's Feedback
Answer / prameela
ViewState in Asp.net is used to save data to access across
postbacks.If the information is to be shared across
different controls, it can be placed in the view state of
the page, if it is to be accessed within the scope of a
single control, then it can be placed within the view state
of the control
| Is This Answer Correct ? | 11 Yes | 5 No |
Answer / somnath
using view state we can maintain a value in our page scope.
and this value use in pay page of our website.viwe state
maintain one session at the page destroyed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sathya
View state is the method that the ASP.NET page framework
uses to preserve page and control values between round
trips. When the HTML markup for the page is rendered, the
current state of the page and values that must be retained
during postback are serialized into base64-encoded strings.
This information is then put into the view state hidden
field or fields.
| Is This Answer Correct ? | 2 Yes | 4 No |
What is the difference between the value-type variables and reference-type variables in terms of garbage collection ?
What is html.renderpartial?
How does servicing work for the .net framework 3.0? If I install the .net framework 3.0, can I get service updates for the .net framework 2.0?
If foreground completes its processing will it wait for background threads?
What is the purpose of a web form?
What is "out" parameter how it is used in methods?
can i change web.config settings from iis?
1 Answers HCL, ReadySoft, Wipro,
Explain covariance and contra-variance in .net framework 4.0. Give an example for each.
Explain what platforms does the .net framework run on?
Which version of .net framework is installed?
Is it possible to cancel filter execution?
What is main objective of asp.net mvc 4 or what is new in mvc4 ?