Is It Possible For Whole Page is Saved In View State?
What Is View State?
Answers were Sorted based on User's Feedback
Answer / sandeep
View State is nothing but to store peace of information
in the form of hidden field
Yes. It is Possible For Whole Page is Saved In View State
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ranjith
When a form is submitted in classic ASP, all form values are
cleared. Suppose you have submitted a form with a lot of
information and the server comes back with an error. You
will have to go back to the form and correct the
information. You click the back button, and what
happens.......ALL form values are CLEARED, and you will have
to start all over again! The site did not maintain your
ViewState.
When a form is submitted in ASP .NET, the form reappears in
the browser window together with all form values. How come?
This is because ASP .NET maintains your ViewState. The
ViewState indicates the status of the page when submitted to
the server. The status is defined through a hidden field
placed on each page with a <form runat="server"> control.
The source could look something like this:
<form name="_ctl0" method="post" action="page.aspx" id="_ctl0">
<input type="hidden" name="__VIEWSTATE"
value="dDwtNTI0ODU5MDE1Ozs+ZBCF2ryjMpeVgUrY2eTj79HNl4Q=" />
.....some code
</form>
Is This Answer Correct ? | 2 Yes | 0 No |
Explain the purpose of storyboard.targetproperty.
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?
Explain asp.net web forms.
Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?
What is state management in .net?
What is the difference between session.abandon() vs clear()?
After building the custom control, you test it by adding an ASP.Net web application to the solution. You add a correct <%@ Register %> directive and a proper declaration of the control in the <asp:Form> tag to the Web Form, but when you execute the application you get an error. What is the most likely reason for the problem? a) The custom control must be compiled first. b) The web application must have a reference to the control c) The custom control must be registered with windows first. d) The assembly from the custom control is not in the application?s bin directory.
main difference between asp.net2.0,asp.net1.1,asp.net1.0
15 Answers Inflexion, Infosys, iSoft, Microsoft, Prakruthi,
What is an imagemap in asp.net?
How to do Caching in ASP?
In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?
what is the purpose of update panel control in ajax?