Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling viewstate on a form
Message
De
09/06/2010 04:01:38
 
 
À
09/06/2010 02:33:52
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01468039
Message ID:
01468042
Vues:
71
>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....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform