Open pdf window on grid button click

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    367 posts
    Member since:
    Aug 2008

    Posted 26 Sep 2012 Link to this post


    I have a GridColumnButton how would I print a pdf from its click event. Ideally I like to open the pdf print / preview window

  2. Eyup
    Eyup avatar
    3296 posts

    Posted 28 Sep 2012 Link to this post

    Hi Andy,

    You could use the following approach:
    <telerik:GridButtonColumn ... CommandName="ExportToPDF">
    together with:
    <ExportSettings OpenInNewWindow="true">

    I hope this will prove helpful. Please give it a try and let me know if it helps you.

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top