?
Solved

ASP.NET - disable viewstate in the entire application from the web.config file

Posted on 2009-04-06
4
Medium Priority
?
811 Views
Last Modified: 2012-05-06
How do I disable viewstate for my entire web application from the web.config file?
0
Comment
Question by:josephdaviskcrm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 27

Expert Comment

by:nmarun
ID: 24077884
Add this to your web.config file:
<Pages enableViewState="false"/>
0
 

Author Comment

by:josephdaviskcrm
ID: 24078314
Does it matter where in the web.config file that tag needs to go?  Does it go inside of the <appSettings/> tag?
0
 

Author Comment

by:josephdaviskcrm
ID: 24078371
Anywhere I place that in my web.config file seems to cause an error.
0
 
LVL 27

Accepted Solution

by:
nmarun earned 2000 total points
ID: 24078515
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question