I am using implicit styling (not using style manager) in my current project and can't seem to be able to style the WPF report viewer with the Windows8 theme. I tried to add the resource dictionaries from the Themes.Implict Windows8 folder (ReportViewer.xaml, ReportViewerDialogBox.xaml, ReportViewerErrorStatus.xaml) without success. The resource dictionaries refer to the Silverlight report viewer and there are other references missing.
Could you please let me know how to achieve Windows8 styling for the WPF report viewer using implicit styles?
Thanks,
Mike
11 Answers, 1 is accepted
The parts I am missing are the export drop down button, the zoom combobox control and the animation when the report is loaded. Please see attached screenshot for details.
Thanks,
Mike
We would advise you to use the well known path for styling the WPF Report Viewer, since with implicit styles you may affect the reports too. Please check Creating Style in Expression Blend in order to see how to style the Report Viewer more appropriately.
If you insist on using the implicit styling the export button is of type RadComboBox and so is the zoom drop down. The loading animation is a RadProgressBar within a DialogBox. However please note that such styling is not supported by Telerik Reporting and in case of problems we might not be able to advise you accordingly.
I hope that helps.
Kind regards,
IvanY
the Telerik team
HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
- Telerik.Windows.Controls.dll
- Telerik.Windows.Controls.Input.dll
- Telerik.Windows.Controls.Navigation.dll
are added from the Binaries.NoXaml folder they do not contain the necessary information. I also can't add the normal binaries on top as they would clash with the NoXaml binaries. Is there a recommended way?
For now I have done the following:
Extract the report viewer style via Blend, then add 'BasedOn' entries for all required styles (i.e. combobox, progressbar, radtreeview and radtreeviewitem). I've also stripped out all references to the style manager.
This does work and display the buttons correctly however is there a better way?
Thanks,
Mike
Please check this help article since one additional reference is needed - Telerik.Windows.Data.dll. The recommended way is to use all four assemblies that get distributed with Telerik Reporting (or if you have installed the WPF controls to use the assemblies installed in the GAC).
If you are still experiencing difficulties please note that you can always send us a runnable sample that exhibits the issue so that we are able to reproduce it locally and advise you.
Regards,
IvanY
the Telerik team
HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
Hello Ivan,
Sorry maybe I am not particularly clear. Could you please have a look at the following help topic: WPF Help Implicit Styling
This is how I have styled my Telerik Rad Controls. As you see from the help the added references are different in that they do not contain any styling xaml because the styling is provided by implicit styles from the applications resource dictionaries. Basically what I would need is a report viewer style that doesn't override implicit styles within the used controls (combobox, slider, etc...) or if a style is used to use BasedOn to include the implicit styles (otherwise the controls don't show up as they don't have any style).
From the responses so far I take it that this approach of application styling is not compatible with Telerik Reporting at this time? If so will this be supported in the future? It would also be worth adding a note in the help file to make developers aware that this is the case.
Thanks,
Mike
Thanks,
Mike
Thank you for the provided sample. We will investigate it further and you can rest assured that we will continue working towards the integration of the two products.
For the time being you will have to use the well known way of styling our ReportViewer using Expression Blend as described in the help article mentioned in the previous post. We apologize for the temporary inconvenience. Your Telerik points have been updated.
Regards,
IvanY
the Telerik team
HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
Not sure if it's any help to someone else but I have attached the end result which works fine.
Thanks,
Mike
Mike
We're glad you were able to make things work the way you wanted. Currently it is visible and helpful only to Telerik members as this is a private support thread, if you would like you can open a forum thread with your findings or we can convert this thread to a forum thread.
Greetings,
Steve
the Telerik team
HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
Sorry for the late reply, I would be more than happy for you too make this a forum post.
Kind Regards,
Mike