Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Online Members
naveensanagasetti
pinky
Bibillis
sathishkumar.Gaalla
Ultimaterengan
Arvind kumar
Arun prasanna
lily
kumar.tyr
More...
Resources
»
.NET programming
»
ASP.NET/Web Applications
What does the "EnableViewState" property do?
Posted Date:
30-Jan-2009
Category:
ASP.NET/Web Applications
Author:
rajeshwar
Member Level:
Silver
Points
: 3
Enable ViewState turns on the automatic state management feature that enables server controls to re-populate their values on a round trip without requiring you to write any code. This feature is not free however,
since the state of a control is passed to and from the server in a hidden form field. You should be aware of when ViewState is helping you and when it is not. For example, if you are binding a control to data on every round trip then you do not need the control to maintain it’s view state, since you will wipe out any re-populated data in any case. ViewState is enabled for all server controls by default. To disable it, set the EnableViewState property of the control to false.
Did you like this resource? Share it with your friends and show your love!
Tweet
Responses to "What does the "EnableViewState" property do? "
No responses found. Be the first to respond...
Feedbacks
Post Comment:
Notify me by email when others post comments to this article.
Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
No HTML formatting and links to other web sites are allowed.
This is a strictly moderated site. Absolutely no spam allowed.
Name:
Sign In
to fill automatically.
Email:
(Will not be published, but
required
to validate comment)
Type the numbers and letters shown on the left.
Next Resource:
GridView Insert, Update, Delete in ASP.Net 2.0 code:
Previous Resource:
State Management : A Step Ahead Series
Return to Resources
Post New Resource
Category:
ASP.NET/Web Applications
Post resources and
earn money
!
More Resources
GridView Insert, Update, Delete in ASP.Net 2.0 code:
Creating CSS Menus
JAVASCRIPT
HTML
WinForms to Web - Migrating desktop applications part 1
Most powerful JavaScript Framework : jQuery
Popular Tags
Tag posting guidelines
Search Tags
View State
.
Active Members
Today
Prasad kulkarn...
(14)
Naved Hasan ...
(12)
naveensanagase...
(11)
Last 7 Days
naveensanagase...
(239)
baskar
(202)
Pawan Awasthi
(187)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds
Talk to Webmaster Tony John