Programatic Creation Radgrid with print

4 posts, 0 answers
  1. Vijayaraj
    Vijayaraj avatar
    25 posts
    Member since:
    Mar 2011

    Posted 28 Jul 2011 Link to this post

    Hi,

    I would like to use the print functionality for the radgrid that is created programatically. Is it possible?
    Please provide some direction.

    Thanks,
    Vijay
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 Jul 2011 Link to this post

    Hello Vijayaraj,

    Check the following CodeLibrary  Print RadGrid contents.Try attaching a button and in its click event call the function  PrintRadGrid() mentioned in the CodeLibrary.
    Hope this helps.

    Thanks,
    Princy
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Vijayaraj
    Vijayaraj avatar
    25 posts
    Member since:
    Mar 2011

    Posted 01 Aug 2011 Link to this post

    Thanks Princy, But that doesnt work for me.

    Javascript error on the following line,
    "var sh = '<%= ClientScript.GetWebResourceUrl(radGrid1.GetType(),String.Format("Telerik.Web.UI.Skins.{0}.Grid.{0}.css",radGrid1.Skin)) %>';"

    it couldn't identify the "radGrid1" control at all.

    Can you please provide some sample project with radgrid created completely on page load with the print functionality.

    Thanks in advance for your support.

    Regards,
    Vijayaraj
  5. Daniel
    Admin
    Daniel avatar
    4943 posts

    Posted 04 Aug 2011 Link to this post

    Hello Vijayaraj,

    Sample project is attached to this post.
    Hope this helps.

    Regards,
    Daniel
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top