title: can't turn off ViewState (asp.net/VS2010), what can be wrong?
body: <p>I'm working on an application which generates a list of customers from a db. I have disabled ViewState in default.aspx, but now when I viewed the source code of the generated HTML page I saw that the ViewState is on.</p>
  
  <p>I've tried to add both ViewStateMode="Disabled" and EnableViewState="False" (separately and even together) without any luck.</p>
  
  <p>What can be wrong?</p>
  
  <p>ViewState code from the source code if it helps:</p>
  
  <pre><code>&lt;div class="aspNetHidden"&gt; 
  &lt;input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /&gt; 
  &lt;input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /&gt; 
  &lt;input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="88luWaDvrTt0+OWLhB and a lots of characters after this...
  </code></pre>
  
  <p>EDIT: Now when I looked again in the source code I can see the following which I find strange:</p>
  
  <ul>
  <li>There's A LOT of ViewState characters (takes 15-20 seconds to scroll through it)</li>
  <li>There's two places with ViewState code, separate from each other</li>
  </ul>