convert to radgrid to html

2 posts, 0 answers
  1. JJ
    JJ avatar
    147 posts
    Member since:
    May 2010

    Posted 04 May 2012 Link to this post

    I need to convert radgrid which has detail tables to html and send by email.

    HtmlTextWriter

     

     

    a = null; ;

     

    rg.RenderControl(a);


    does not work ( looked at http://gchandra.wordpress.com/2006/08/23/export-datagrid-to-html/)
    error: rg is not a registered sctript control...script controls must be registerd using registerscriptcontrol() before calling registerscriptDescription()...

    Can you send some working sample for convert radgrid to html text.
    or some sample code for looping grid master and detail table  to get out put html text.

    Please help!!!
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 07 May 2012 Link to this post

    Hi,

    Try setting RegisterWithScriptManager property for RadGrid for ASP.NET AJAX to false in order to avoid the exception . Note, however, that when you set this property to false, you will need to register the grid's client scripts and skins manually with your own code.

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top