Set the ViewState of the parent class in the child class asp.net
<p>I am working on an existing portal wherein I have a class which is inheriting from another class. In the base class the <code>Page.EnableViewstate</code> has been set to <code>false</code> as shown below.</p>

<pre><code>Page_Load()
{
Page.EnableViewState=false;
}
</code></pre>

<p>However in the child class am using Gridview to display certain details from the backend. When the <code>Page.EnableViewstate=false</code> in parent page, the gridview doesn't get displayed. </p>

<p>Is there a way to enable the viewstate of the parent class in the child class? I am badly in need of the base class but the Page.<code>EnableViewState</code> has to be set to false in that page for some reason. Any help is most valuable!!</p>
