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 |
Difference between Active Exe and Dll ?
Explain the server control events of asp.net ?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
0 Answers InfoAxon Technologies,
What are web server controls in asp.net?
What is difference between view and partial view?
How long do session variables last?
What is the purpose of asp.net?
What is session and application variable in asp net?
Have u used webcontrols?Tell me something about these?
Difference between ASP Session and ASP.NET Session?
You are planning the deployment of an ASP.NET application. The application uses a Visual Studio .NET component named DataAccess that will be shared with other applications on your Web server. You are using Visual Studio .NET to create a Windows Installer package. You need to deploy DataAccess and the ASP.NET application so that they can be uninstalled later of necessary. What should you do? A . Create a setup project for DataAccess. Add the ASP.NET application in a custom action. B . Create a setup project for the ASP.NET application. Create another setup project for DataAccess. C . Create a Web setup project for the ASP.NET application. Add a project output for DataAccess. D . Create a Web setup project for the ASP.NET application. Add a merge module for DataAccess.
What is the difference between ASP Session State and ASP.Net Session State?