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 |
If background completes its processing will it wait for foreground threads?
what is eager loading?
How Garbage Collector identifies the objects which are not in use?
6 Answers EXL, Honeywell, Microsoft, Tech Mahindra, Tesco,
What is difference between viewbag and viewdata and tempdata?
What is the 'page life cycle' of an ASP.NET MVC?
How do you sort a dataset?
will there be any issues adding a table without primary keys to a data model?
What is the difference between structures and enumeration ?
What is the use of the default route?
What is mvc entity framework?
How we can call a javascript function on the change of a dropdown list in mvc?
Can you set the unlimited length for "maxjsonlength" property in config?