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 |
Write a code for passing ArrayList in Web API?
When maintaining session through Sql server, what is the impact of Read and Write operation on Session objects? will performance degrade..
3 Answers Allsec Technologies,
Why is string called immutable data type?
What is the main difference between grid layout and flow layout?
Explain what a diffgram is, and a good use for one?
Hi , I am Basha. I am searching a job in dotnet.Plz tell me the order of page events in asp.net 2.0> plz send faq's related to c#.net,asp.net,sqlserver2000 etc. to my mail-id : bashask.ss@gmail.com
What types of data validation events are commonly seen in the client-side form validation?
What are Caching techniques in .NET
What is difference between user control and custom control?
I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.
How does a content page differ from a master page?
how to create bin folder in asp.net2.0