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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
What does the "EnableViewState" property do? Why would I
want it on or off?
 Question Submitted By :: Ramgopal Reddy
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What does the "EnableViewState" property do? Why would I want it on or off?
Answer
# 1
It enables the viewstate on the page. It allows the page to
save the users input on a form
 
Is This Answer Correct ?    3 Yes 0 No
Ramgopal Reddy
 
  Re: What does the "EnableViewState" property do? Why would I want it on or off?
Answer
# 2
It allows to Store Value in viewstate and Persist the 
values across postbacks
 
Is This Answer Correct ?    2 Yes 0 No
Deepali
 
 
 
  Re: What does the "EnableViewState" property do? Why would I want it on or off?
Answer
# 3
when ever your page view state on it will take too much 
responese time. that is why it is better to off the view 
state if you do not require the controls to remeber its 
previous state.
 
Is This Answer Correct ?    2 Yes 1 No
Sankar
 
  Re: What does the "EnableViewState" property do? Why would I want it on or off?
Answer
# 4
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 ?    1 Yes 0 No
Maloy.adhikari
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Types of state management techniques ? Digital-GlobalSoft2
What methods are fired during the page load?  1
1. Briefly describe your ideal job? Swatz-Oils1
which scripting is used browser by server when we use validation controls. 1.javascript 2.vbscript 3.jscript 4.perl Satyam8
How to do Caching in ASP?  1
Should sn.exe be used before gacutil.exe ? Accenture2
What's a bubbled event?  2
Diff B/W user control and server control  3
What methods are fired during the page load?  2
What are different ASP.NET Web Forms with the technology different from though ASP (1.0-3.0)?  1
what is value type to reference type AG-Technologies6
Why do we use Option Explicit? Microsoft2
How do you do validations. Whether client-side or server-side validations are better ? Microsoft2
What?s the difference between Response.Write() andResponse.Output.Write()? Atos-Origin5
what is caching,session? when & what is used mostly in which situtations, how they r implemented in real time? tell with example? Satyam1
what is profiles in asp.net  1
What is shared and private assembly? Accenture1
What namespaces are imported by default in ASMX files?  2
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?  1
How do you relate an aspx page with its code behind Page? Accenture2
 
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