
- Forum
- Programming Talk
- Microsoft .NET
- ASP.NET Control ViewState
ASP.NET Control ViewState
This is a discussion on ASP.NET Control ViewState within the Microsoft .NET forums, part of the Programming Talk category; Hi Everybody, I am new to ASP.NET and also a fresh member of this site. I am eager to know ...
-
ASP.NET Control ViewState
Hi Everybody,
I am new to ASP.NET and also a fresh member of this site. I am eager to know about the 'ViewState' property of controls such as textbox. What is purpose of the above property and what about the control with that property is set to ON mode? Is this a necessary one to a control?Plz help me...
Thanks,
Basheer
-
ViewState property is a vital property of ASP.NET that has great impact on appearance of pages. To name one of the impacts is page size. Its functionality is limited not only to page appearance but also plays a great role in the performance of server side.
-
ashlee from your statement I understand that 'ViewState' property can be controlled by users. Am I right? If so what are the levels in which a user can control the ViewState property.
-
Bazeer Viewstate property can be set to ON or OFF as per the needs. But one must be very careful while toggling this mode as turning off ViewState unnecessarily would make the control lose the ability to track any values in ViewState and the user can no longer use the ViewState collection to store values from their application code. When the ViewState is turned on user ends up picking up all changed values of all controls, that have changed non-post back values and that have ViewState enabled.
-
Sponsored Ads

Reply With Quote





