Blog Stats
  • Posts - 2
  • Articles - 1
  • Comments - 33
  • Trackbacks - 0

 

ASP.Net

RenderControl doesn't work for GridView

Introduction When you try to use RenderConrol Method of ASP.Net 1.1 DataGrid doesn't seem to work for GridView.Using RenderControlMethod of DataGrid to render HTML content throws a HTTPException "System.Web.HttpException: Control 'GridView1' of type 'GridView' must be placed inside a form tag with runat=server" ,Which is already inside the form with runat=server Background In most of the cases we need to process with HTML content of the DataGrid rendered like Export to Excel and using AJAX to bind...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

 

 

Copyright © Rajesh Thomas