ASP.NET Control ViewState

This is a discussion on "ASP.NET Control ViewState" within the ASP.NET Forum section. This forum, and the thread "ASP.NET Control ViewState are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > ASP.NET Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Apr 12th, 2007, 07:50
New Member
Join Date: Apr 2007
Location: Chennai, India
Age: 26
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question ASP.NET Control ViewState

Hi friends,
I am new to ASP.NET technology. I like to get clear about the 'ViewState' property of the control e.g. textbox, button,etc., Plz help me. What is the purpose of this property? Please...








cheers,
Basheer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Apr 12th, 2007, 12:13
Junior Member
Join Date: Apr 2007
Location: Florida
Age: 41
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Re: ASP.NET Control ViewState

The purpose of the viewstate is literally - saving the state of your controls during postbacks to the server. Web application are by definition stateless - that is , they do not maintain state between round trips to the server. To accomplish this, ASP.NET has a hidden object called ViewState. You can see it if you look at the html source of your aspx page. You can enable or disable the viewstate for a specific control by using its EnableViewstate property. Here is an article explaining more about ViewState.

http://www.extremeexperts.com/Net/Ar...ViewState.aspx

Good Luck!

John Ginzo
GinzoTech Solutions
http://www.GinzoTechSolutions.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Apr 14th, 2007, 10:25
New Member
Join Date: Apr 2007
Location: Chennai, India
Age: 26
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Re: ASP.NET Control ViewState

Thank U for ur valuable guidance...thanks lot.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
aspnet server controls

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Movieclip Control dazzelworks Flash & Multimedia Forum 3 Oct 30th, 2006 13:11
Background control ahm531 Web Page Design 6 Aug 30th, 2006 14:45
Viewstate u2orange ASP.NET Forum 3 Oct 8th, 2003 12:22


All times are GMT. The time now is 07:54.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42