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

What are triggers of an updatepanel?

0 Answers  


How can u handle Exceptions in Asp.Net?

4 Answers  


Is it possible to migrate visual interdev design-time controls to asp.net?

0 Answers  


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?

2 Answers  


What are the Application_Start and Session_Start subroutines used for?

5 Answers   Siebel Systems,






What is the difference between a Stored procedure and function?

9 Answers  


is gateway for sms continue connected for sending sms.how?

0 Answers  


Interface and Abstract class, inheritance, abstraction with examples. Polymorphism (difference betn overloading and overriding

2 Answers   Syntel,


how to encrypt a connection string in web.config file?

3 Answers   Hexaware,


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...

1 Answers  


what is DLL Hell and how it is solved in .NET? please explain clearly??

0 Answers   TCS,


what are the security certificates used in webservices?

0 Answers  


Categories