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.
|
|
|
|
|
![]() |
||
ASP.NET Control ViewState
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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 |
|
|
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
Thank U for ur valuable guidance...thanks lot.
|
![]() |
| Tags |
| aspnet server controls |
| Thread Tools | |
|
|
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 |