The answer above explain to you how to set it in the Web.Config, but look at MSDN and you will see what it says here:
This attribute should never be set to false in a production Web site,
even if the application or page does not use view state. The view
state MAC helps ensure the security of other ASP.NET functions in
addition to view state.
The answer above explain to you how to set it in the Web.Config, but look at MSDN and you will see what it says here:
You can disable it on the
<pages>
element in the web.config, like this: