ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Is It Possible For Whole Page is Saved In View State?
What Is View State?
 Question Submitted By :: Als.senthur Ganesh
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Is It Possible For Whole Page is Saved In View State? What Is View State?
Answer
# 1
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
Ranjith
 
  Re: Is It Possible For Whole Page is Saved In View State? What Is View State?
Answer
# 2
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 ?    2 Yes 0 No
Sandeep
 
 
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?  4
Which tab of the web site administration tool do you use to manage application setting ,debug and tracing?  2
What is difference between machine.config and Web.Config? Accenture3
What is the use of sessionstate tag in the web.config file?  2
Breifly explain about stack and heap memory Managemet?  1
Write a code for "RequiredFieldValidator" in java script Wipro3
If cookies is disabled in client browser will session work ? Satyam3
Can a master page inherit another master page? Emphasis8
Can we throw exception from catch Block? Accenture6
When would you set this property to false?  1
I have a textbox , assign required field validator and i have two buttons 1) save 2) cancel , i want the validator run only when i click save button, don't validate cancel button , what to do? eMids5
Types of caching. How to implement caching? Microsoft2
You ve defined one page_load event in aspx page and same page_load event in code behind how will prog run?  4
What is the main difference between grid layout and flow layout?  1
For a webapplication if i want to gice access controls like admin,users how can i give security like rolebased? Syncfusion1
User contro having 4 text boxes given validation controls. i want to execute validations after the button click event how it is?  3
Suppose there is one web farm with 3 servers inside with same configuration and the same project is running inside all servers.Which session mode is usde for all these and why?  2
How to retrieve the information from datatable citywise in c#? HCL2
Which is the namespace used to write error message in event Log File?  1
Rate yourself in .net and sql database? Satyam1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com