Failed to load viewstate when page contains viewstate variables
<p>I got this error when I don't use or do processing on pages which contain viewstate for couple minutes and reload the page:</p>

<p><strong><code>Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.</code></strong></p>

<p>I have got the solution by setting page setting <strong>enableviewstate= false</strong> </p>

<p>but after applying this the viewstate variable doesnot work on this page.</p>
