Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling viewstate on a form
Message
From
09/06/2010 04:01:38
 
 
To
09/06/2010 02:33:52
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01468039
Message ID:
01468042
Views:
70
>On one particular form, or a page, I need to disable the viewstate. Basically, I need to avoid the __ViewState line to be inserted. As when this line is there, is intercept any manual post to the server as if nothing was sent. So, as I am going manual on one particular page, I need to avoid that line to be inserted. I tried using the EnableViewState = False at the initialization of the page but this doesn't change anything. Has anyone had success with that so far?

I thought
%@ Page EnableViewState="False" %
worked ?

BTW UT won't accept brackets outside the % in the above....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform