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

SL ReportViewer will not render in design view or runtime

1 Answer 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kenneth
Top achievements
Rank 2
Iron
Kenneth asked on 07 May 2015, 06:54 PM

SL 5, VS2010, VB.NET 

I use the Q2 2014 Silverlight ReportViewer in one project of my solution and I am trying to add it to a SL child window in a different project (same solution).

 I have all the same references in the project and xaml, no errors are reported at design time, during compile, or at run time.

The reportviewer is recognized because I set the report on a button click and hook the RenderBegin event to set report parameters.

I have deleted and recreated the control in the xaml file, both by dragging it from the toolbox and by just typing it in - intelisense recognized it.

When I run the program I can set the reportviewer.class but RenderBegin is not hit.

 Any Ideas?

 

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 11 May 2015, 04:30 PM
Hi, Kenneth

As of Q1 2014 the WPF/Silverlight ReportViewer uses implicit styles instead of the StyleManager to apply themes. 

The only files part of Telerik Reporting are the Telerik.ReportViewer.SIlverlight.dll and Telerik.ReportViewer.SIlverlight.xaml. The rest files should be updated from the UI for SIlverlight product folder. Note it is not required to use NoXAML binaries of Telerik UI for SIlverlight. For more details about the viewer's styles, please check Setting a theme of the WPF/Silverlight Report Viewer (Q1 2014 and later) and How to: Add report viewer to a Silverlight application.

The XAML file for the viewer must be copied from C:\Program Files (x86)\Telerik\Reporting Q2 2014\Silverlight\Themes (only Telerik.ReportViewer.Silverlight.xaml). The rest XAML files must be copied from Telerik UI for Silverlight product folder - C:\Program Files (x86)\Telerik\UI for Silverlight Q2 2014\Themes.Implicit (the same applies for the Binaries.NoXaml assemblies of Telerik UI for Silverlight).

In case you have not purchased Telerik UI for SIlverlight, you can use the XAML resources from C:\Program Files (x86)\Telerik\Reporting Q2 2014\Silverlight\Themes and the assemblies from the local demos installed by default under C:\Program Files (x86)\Telerik\Reporting Q2 2014\Examples\CSharp|VB\SilverlightDemo.
Note that Telerik Reporting and Telerik UI for SIlverlight versions are synchronized - Q2 2014 (Product Dependencies).


If you need any further help, please open a support ticket and send us a demo project to test your settings.

Regards,
Stef
Telerik
 

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

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