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  >>  Dot Net  >>  Dot Net General
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
what is viewstate?
 Question Submitted By :: Praveena
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is viewstate?
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.

Maintaining the ViewState is the default setting for 
ASP.NET Web Forms. If you want to NOT maintain the 
ViewState, include the directive <%@ Page 
EnableViewState="false" %> at the top of an .aspx page or 
add the attribute EnableViewState="false" to any control.
 
Is This Answer Correct ?    10 Yes 0 No
Monica Jeevan
 

 
 
 
Other Dot Net General Interview Questions
 
  Question Asked @ Answers
 
What is MSIL, IL, CTS?  2
What is a formatter? TCS1
How do you give a Windows service specific permissions?  1
How do you create threading in .NET? What is the namespace for that?  1
What is CCW (COM Callable Wrapper)  1
How do you turn off cookies for one page in your site?  1
Explain manifest & metadata. Wipro3
what is managed data and managed code?  2
What are possible implementations of distributed applications in .NET?  1
String[] a = new string[10] for(i=0; i<10; i++) { a[i] = i; } How many heap object will be created for this array. Choose the answer below. Ans: 1, 10, 11, 12  3
What is prerender event of a page? C-Squared-Systems3
What?s typical about a Windows process in regards to memory allocation?  1
what is a strong name?  3
Can u any body send the DotNet Interview questions and answers to my mail please....... mindukuru@yahoo.com  1
is c#.net supports multiple inheritance?  9
What are the contents of assembly?  3
What is a delegate, How many types of delegates?  1
What is Active Directory? What is the namespace used to access the Microsoft Active Directories? What are ADSI Directories? TCS1
What are the contents of assembly? Ksb4
What?s SingleCall activation mode used for?  1
 
For more Dot Net General 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