Is It Possible For Whole Page is Saved In View State?
What Is View State?

Answers were Sorted based on User's Feedback



Is It Possible For Whole Page is Saved In View State? What Is View State?..

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

Is It Possible For Whole Page is Saved In View State? What Is View State?..

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

Post New Answer

More ASP.NET Interview Questions

Why is it important to maintain session state?

1 Answers  


How can we create a website?

0 Answers  


What are the different types of Caching techniques in ASP.NET?

0 Answers  


COM+ Used ________________ Isolation Level

0 Answers   CTS,


Define satellite assemblies.

0 Answers  






How will you do Redo and Undo in a TextControl?

0 Answers  


How can you get public key information?

1 Answers   Microsoft,


What are themes and skins in 2.0, explain usage scenario?

0 Answers  


What data types do the RangeValidator control support?

2 Answers   Siebel Systems,


What is the difference between a multi-layer and multi-tier applications?

0 Answers   Microsoft,


How to merge 2 tables fields in DataTable in asp.net

6 Answers   Wipro,


How can we communicate with each server in N-tier Architecture? and what are the methods?

0 Answers   Wipro,


Categories