Exforsys

Online Training

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 ...


Go Back   Exforsys > Programming Talk > Microsoft .NET

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-14-2007, 02:45 AM
Junior Member
 
Join Date: Apr 2007
Posts: 1
Bazeer is on a distinguished road
Smile 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2007, 03:30 PM
Senior Member
 
Join Date: Apr 2006
Posts: 125
ashlee is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2007, 05:28 PM
Senior Member
 
Join Date: Apr 2006
Posts: 139
Ralph is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-17-2007, 05:40 PM
Senior Member
 
Join Date: Apr 2006
Posts: 141
Adrian is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Forms Authentication in ASP.NET 2.0 rjames ASP 1 01-30-2007 07:46 PM
Programming Control Structures in Java - Article lokeshm Java Tutorials 1 10-11-2006 07:52 AM
Manager - Quality Assurance & Control kalareddy Experienced Job Seekers - India 0 06-20-2005 10:20 AM
Free VB .NET Std Ed. and ASP.NET Develop. Book sanereddy Microsoft .NET Tutorials and Articles 0 10-05-2004 01:59 PM
Apple II Csa2 FAQs: Telecom Hardware & Transfers, Part 20/25 rubywand@swbell.net Tech FAQ 0 04-04-2004 08:29 AM


All times are GMT -4. The time now is 02:22 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.