Print Page | Close Window

View State

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=21227
Printed Date: 29 March 2026 at 7:41am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: View State
Posted By: dharmesh
Subject: View State
Date Posted: 05 September 2006 at 4:00pm
Hello Friends,
 
can u help me? any one can explain that what is view state in ASP.NEt? and how it's works..............
 


-------------
Dharmesh Parmar



Replies:
Posted By: michael
Date Posted: 05 September 2006 at 4:26pm
ViewState allows the state of objects (serializable) to be stored in a hidden field on the page.
It is transported between the client and the server, and is not stored on the server or any other external source. For the most part (or all?) it is used to retain the state of server-side objects between postbacks.

If you know that your label, textbox, datagrid or whatnot does not need to "remember" its data between postbacks I recommend turning it off for that control, it saves time generating the page.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net