Even if you set it to false, a viewstate control will be added if your page
has a server side form (ie, <form runat="server">). To be honnest, I'm not
sure why that is and what information is added to the viewstate, i just know
it's true :)
The page's SavePageStateToPersistenceMedium and
LoadPageStateFromPersistenceMedium methods might be the only way you have to
completely eliminate the viewstate...
Karl
--
http://www.openmymind.net/ http://www.codebetter.com/
"Alex Maghen" <Al********@newsgroup.nospamwrote in message
news:81**********************************@microsof t.com...
>I want to disable ViewState for all pages associated with a given
MasterPage.
How do I do this? I've tried doing...
<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="StdMaster.master.cs"
EnableViewState="false"
Inherits="StdMaster" %>
but I still see ViewState hidden tages in my pages