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 can i deploy a asp.net webapplication.in a company so that all employees may access application on their different computers and share a single database. plz tell me the steps to do it..thanks.
What are web server controls in asp.net?
What are the events in a page life cycle?
How can you change a Master page dynamically in which event of page life cycle?
What is difference between session and cookie?
Difference Between ReadOnly and Constant Variable in compile time and Run Time.
3 Answers Phoenix Technologies, Quadrant,
Why would anyone need to implement their own hashtable or linked list?
what is advantage of developing in asp.net.why the same can't be developed in Java or other web developemnt tool.what are advantages of developers.
Explain the differences between managed and unmanaged code?
How to implement role based security in asp.net mvc? : Asp.Net MVC
What is the difference between session state and session variables ?
What is form method?