Error in export gridview to excel
<p>I was tring to export gridview to excel.For that I wrote the code in content page.But I got the error.When I writting attribute[runat]="server";So I searched on the net I wrote like this.</p>

<pre><code>public override void VerifyRenderingInServerForm(Control control) 
{ /* Confirms that an HtmlForm control is rendered for the specified ASP.NET server control at run time. */ 
} 
</code></pre>

<p>.But I remove all the code from my page.But When I am running the page it get display on the login page.I want to remove that sentence which is coming at run time.</p>
