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 enableviewstatemac in asp net?
what cut off mark for po's,what questions they asked for interview?
What is a web pool?
Explain the asp.net page life cycle.
Explain the difference between asp.net mvc and asp.net webforms
Do you support digital rights management to protect my videos?
How can you debug your.net application?
What is base class of .net?
Name some asp objects?
Explain the different types of directives in .net?
What does asp in asp.net stand for?
What are server objects?
Describe SOA and the tenets of it?
Can we have multiple web config files for an asp.net application?
What is the difference between CC and BCC?