WPF ReportViewer Toolbar hidden / modify

2 posts, 0 answers
  1. JP
    JP avatar
    5 posts
    Member since:
    Jan 2015

    Posted 20 Mar 2015 Link to this post

    Hi,

    I am currently using Q1 2015 of Telerik Reporting WPF ReportViewer.
    Is it possible to either modify the Toolbar or to hide the Toolbar and create my own Toolbar?

    Kind Regards,

    JP van der Merwe
  2. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 24 Mar 2015 Link to this post

    Hello JP,

    As of Q1 2014 Telerik WPF ReportViewer uses only implicit styles, where its template is exported in a XAML file per theme (C:\Program Files (x86)\Telerik\Reporting Q1 2015\Wpf\Themes). Also the ReportViewerModel is only for internal usage, where to work with the viewer you can rely on the exposed API.
    Thus to hide elements from the viewer's toolbar, you can:
    • Work directly with the corresponding Telerik.ReportViewer.Wpf.xaml file;
    • Hide the viewer's toolbar in the Telerik.ReportViewer.Wpf.xaml file, and create custom one with the exposed API. thus you will be able to control any part of the toolbar via custom UI.
    The second approach will allow you to control the export options per report as well.

    Let us know if you have any further questions.

    Regards,
    Stef
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top