What does the "EnableViewState" property do? Why would I
want it on or off?
Answers were Sorted based on User's Feedback
Answer / ramgopal reddy
It enables the viewstate on the page. It allows the page to
save the users input on a form
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / deepali
It allows to Store Value in viewstate and Persist the
values across postbacks
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / maloy.adhikari
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 ? | 4 Yes | 1 No |
Answer / sankar
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 ? | 4 Yes | 2 No |
How would you implement inheritance using c#?
How does asp net store session ids by default?
Which of the following hosts Can't be used to create .net Application? a) IIS b) Internet Explorer c) ASP.Net d) Windows Shell Which one is correct?
what is page life cycle state management postback cross page postback types of feilds in gridview gridview events their life cycle cte in sql diff truncate and delete paging concepts in gridview diff bet gridview datalist and repeater what new operations in sql 2005 compared to earlier you get
what is use of web.config?
If(dropdownlist1.selectedIndexChanged==true) { //code } else { //code } I am getting error in If condition, so can u pls give me a solution.
What does occur first in ASP.Net, Authentication or Authorization?
How can i include both C# and vb.net classes in same solution?
1.What are the types of events in asp.net? 2.what is databind? 3.what is COM objects? 4.Difference between gridview and datalist? 5.what is SOAP? 6.what are contents are available in asp.net page? 7.what are types of error?
1 Answers CompuRx Infotech, Gemini, Gemini Communication,
How do you access individual items of an Master Page
Write a code snippet to implement the indentation in json in web api.
Explain what is an assembly?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)