about view state and how validation controls will be
executed on client and server
Answer Posted / siddheshwar duchal mob- +91 97
ViewState allows the state of objects (serializable) to be
stored in a hidden field on the page. ViewState is
transported to the client and back to the server, and is not
stored on the server or any other external source. ViewState
is used the retain the state of server-side objects between
postabacks.
Item stored in ViewState exist for the life of the current
page. This includes postbacks (to the same page).
"EnableViewState" :- It allows the page to save the users
input on a form across postbacks. It saves the server-side
values for a given control into ViewState, which is stored
as a hidden value on the page before sending the page to the
clients browser. When the page is posted back to the server
the server control is recreated with the state stored in
viewstate.
The validation can be handeled on client side.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the difference between Hash table and Array list?
What is the file through which you can customize your asp.net application?
How can you apply a theme to your asp.net application?
Does asp.net still recognize the global.asa file?
What is difference between abstract class and an interface?
How can we pass info between 2 asp.net pages?
What does it mean your session has timed out?
Can we handle the error and redirect to some pages using web.config?
What is session handling in a webfarm, how it can work with its limits?
What is asp.net? How is it different from asp?
How do I create a web form?
What is a pixel url?
How to disable disable browser's Back button in asp.net (JavaScript)?
Explain transparent caching with aop?
Is post back property in asp net?