This is a migrated thread and some comments may be shown as answers.

WPF ReportViewer Toolbar hidden / modify

1 Answer 209 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
JP
Top achievements
Rank 2
JP asked on 20 Mar 2015, 06:34 AM
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

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 24 Mar 2015, 09:40 AM
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.

 
Tags
General Discussions
Asked by
JP
Top achievements
Rank 2
Answers by
Stef
Telerik team
Share this question
or