Thank you. The problems turned out to be the "enableViewStat e" had an
erroneous capital "E" as well as an extra appsettings key...
I copied this straight out of the VS.NET help which has the capital E:
Disabling ViewState
In the example above, I disabled ViewState for the grid by setting its
EnableViewState property to false. ViewState can be disabled for a single
control, for an entire page, or for an entire application, as follows:
Per control (on tag)<asp:datagr id EnableViewState ="false" . />
Per page (in directive)<%@ Page EnableViewState ="False" . %>
Per application (in web.config)<Pag es EnableViewState ="false" . />
_____
DC G
"Scott Mitchell [MVP]" <mi******@4guys fromrolla.com> wrote in message
news:41******** ******@4guysfro mrolla.com...
Off the top of my head, I believe the <pages> (case is important)
setting goes in the <system.web> section, and *not* in the <appSettings>
section.
FYI, even when you turn off view state on all pages, you will still get
*some* (albeit, very little). For more on why, see:
http://scottonwriting.net/sowblog/posts/1608.aspx
DC Gringo wrote: I want to turn off viewstate for an application. I added the code below
into my web.config, but I'm still getting lotsa viewstate data in my
hidden form field:
<configuratio n>
<appSettings>
<Pages EnableViewState ="false" />
</appSettings>
....
</configuration>
--
Scott Mitchell
mi******@4guysf romrolla.com
http://www.4GuysFromRolla.com
* When you think ASP.NET, think 4GuysFromRolla. com!