Alter behavior for export toolbar button?

4 posts, 0 answers
  1. Chris
    Chris avatar
    3 posts
    Member since:
    Jul 2011

    Posted 21 Jun 2013 Link to this post

    We'd like to replace the default functionality for the Excel export button on the HTML report viewer.  We'd like to write a custom method for each report that will export the underlying data to spreadsheet in a format that is conducive to sorting, totalling, etc. via Excel.  We don't need to export the headings, totals, etc.

    Can we override the default behavior? 

     
  2. Peter
    Admin
    Peter avatar
    1665 posts

    Posted 26 Jun 2013 Link to this post

    Hi Chris,

    Telerik Reporting is extensible and if required you can implement a custom Custom rendering extension. Just implement accordingly the IRenderingExtension interface. For an example you can use our Excel rendering extension source code. That is available for download from your account download page.

    You can register your rendering extension in the report viewer with the following configuration:

    <Telerik.Reporting>
      <Extensions>
        <Render>
          <Extension name="MyExcel" description="My Excel export" type="MyNamespace.MyClass, MyAssembly"/>
        </Render>
      </Extensions>
    </Telerik.Reporting>

    For more information please check the Rendering Extensions help article.

    Regards,
    Peter
    Telerik

    Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

  3. Steven
    Steven avatar
    1 posts
    Member since:
    Feb 2013

    Posted 10 Jul 2013 Link to this post

    Hello,

    I have the exact same need as Chris does.   May I please get a copy of the Excel rendering extension source code, too?

  4. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 15 Jul 2013 Link to this post

    Hi Steven,

    You can also download Telerik Reporting source code after logging into your account and navigating to Products & Subscriptions - DevCraft - Download - Reporting - Browse all product files - Source Code.

    Regards,
    Stef
    Telerik

    Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

Back to Top