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 |
How do I upload a file from my ASP.NET page?
Which tools of web site Administartion tool do you use to manage user,roles and rules?
Fetch one page value to another page without using state-managment ?
how can you bind data from dataset to XML file
Explain automatic memory management in .net.
What types of data validation events are commonly seen in the client-side form validation?
What is a SESSION and APPLICATION object?
Where do we store our connection string in asp.net application?
Please brief not about xsd,xslt & xml?
In which event of the page viewstate is available?
What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?
Explain Generics?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)