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

Using WPF, Report viewer is not displaying the report specified by the UriReportSource

1 Answer 202 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 25 Nov 2015, 02:39 PM

Hi,

 

I'm using WPF with visual studio 2015.

I'm trying to display a basic report in a wpf telerik report viewer control.

I created the report Test.trdx using Report Designer Q3 2013 witch seems to be working fine in Preview mode.

1) I tried to connect the report viewer to display Test.trdx using visual studio 2015, however in report viewer properties, when clicking on Report Source -> New

    I receive the following message box from visual studio 2015 "No types are available for you to add to this collection".

2) I tried to connect the report viewer to display Test.trdx programmatically as follow but the report is not displayed:

    Telerik.Reporting.UriReportSource uriReportSource = new Telerik.Reporting.UriReportSource();
    uriReportSource.Uri = "C:\\WorkingDir\\Reporting\\Test.trdx";
    reportViewer.ReportSource = uriReportSource;
    reportViewer.RefreshReport();

 

Why am I receiving the message box error in (1) and why telerik report viewer is not displaying Test.trdx in (2)?

 Thanks

Sam

 

    

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 30 Nov 2015, 01:10 PM
Hello Sam,

Visual Studio 2015 is officially supported as of Q2 2015, right after the release of VS2015.

Telerik Reporting Q3 2013 works as expected in Visual Studio 2010|2012|2013. This can be tested with the local examples installed by default under C:\Program Files (x86)\Telerik\Reporting <VERSION>\Examples.

Also if you install the latest available Telerik Reporting Q3 2015 SP2, the installer will add design-time support for VS2015 and you will be able to open the project that uses Telerik Reporting Q3 2013 in VS2015. To install both versions side by side, you can download and use the corresponding MSI - Installing Telerik Reporting.


Note that as of Q1 2014, WPF/Silervlight ReportViewer controls use only implicit styles - WPF ReportViewer: Manual Setup. Also each major Telerik Reporting version is built against a specific Telerik UI for WPF version - Upgrade Path Q3 2013.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Sam
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or