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

ReportViewer WPF invisible

1 Answer 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jean
Top achievements
Rank 1
Jean asked on 05 May 2014, 07:22 AM
Hi,

I upgrade WPF Report Viewer to Q1 2014, and the ReportViewer doesn't appear in my application

I put a ReportViewer in my XAML :

<tr:ReportViewer Grid.Column="1" Name="RptVwr" Margin="10" BorderBrush="Black" BorderThickness="1"  />

Report Viewer Version : 8.0.14.225
Telerik Windows Control : 2014.1.331.40

I have redirection in my AppConfig

   <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Windows.Controls" publicKeyToken="5803cfa389c90ce7" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-2014.1.331.40" newVersion="2014.1.331.40" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Windows.Controls.Input" culture="neutral" publicKeyToken="5803cfa389c90ce7"/>
        <bindingRedirect oldVersion="0.0.0.0-2014.1.331.40" newVersion="2014.1.331.40"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Windows.Controls.Navigation" culture="neutral" publicKeyToken="5803cfa389c90ce7"/>
        <bindingRedirect oldVersion="0.0.0.0-2014.1.331.40" newVersion="2014.1.331.40"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  
 I don't have any Error in my application. If I put a break point in my code, i can see my ReportViewer in the debug window without problem. I try in a new project, an i have the same problem. 

best regards
 







1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 07 May 2014, 03:03 PM
Hello Olivier,

Note that after you upgrade to Q1 2014 you will have to make some additional changes to your project. As of Q1 2014 the Silverlight and WPF ReportViewer controls use implicit styles only. Thus, you need to reference the Telerik.ReportViewer.Wpf.dll and add the Telerik.ReportViewer.Wpf.xaml resource file. You can find the latter in the default installation folder: C:\Program Files (x86)\Telerik\Reporting Q1 2014\Wpf\Themes\<theme name>\Telerik.ReportViewer.Wpf.xaml.

Then from the installed Q1 2014 UI for WPF, you need to reference the required Telerik.Windows.Controls assemblies (NoXAML) and the following XAML resources: System.Windows.xaml, Telerik.Windows.Controls.xaml, Telerik.Windows.Controls.Input.xaml, Telerik.Windows.Controls.Navigation.xaml. With Telerik Reporting Q1 2014 (8.0.14.225) you will also need to add binding redirects for the UI for WPF assemblies.

There is a known issue with the Windows8 and Office2013 themes in version 8.0.14.225. If you are using one of these themes we suggest that you upgrade to the latest internal build of Telerik Reporting.

For more details on the upgrading process please check the The WPF/Silverlight report viewer is blank after upgrading from version prior to Q1 2014 to Q1 2014 or later KB article.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Jean
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or