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 |
What are triggers of an updatepanel?
How can u handle Exceptions in Asp.Net?
Is it possible to migrate visual interdev design-time controls to asp.net?
What is the purpose of the validation summary control? What do you need to do to prevent an error message from being displayed in a validator when a validation summary control is used? How can you display a message in both the validator and the validation summary control?
What are the Application_Start and Session_Start subroutines used for?
What is the difference between a Stored procedure and function?
is gateway for sms continue connected for sending sms.how?
Interface and Abstract class, inheritance, abstraction with examples. Polymorphism (difference betn overloading and overriding
how to encrypt a connection string in web.config file?
Hi..I have created a website in Asp.net with C# i want to add Chinese language in my website..could any body tell me that how can i add dynamically this language on user's request...??? thanks n advance...
what is DLL Hell and how it is solved in .NET? please explain clearly??
what are the security certificates used in webservices?