XAML Resources-Related Errors Occur after Upgrading Silverlight Applications
|Product||Progress® Telerik® Reporting|
|Version||Q2 2012 and later|
XAML resources-related errors occur after upgrading an application that uses the Silverlight ReportViewer.
The error messages are similar to
The name "XYZControl" does not exist in the namespace "clr-namespace:Telerik.XXXX;assembly=Telerik.XXXX". [path]\Themes\[theme_name]\Telerik.XXXX.xaml.
The possible causes are the following:
As of Telerik Reporting Q1 2014, the Silverlight ReportViewer uses implicit styles. Therefore, when the
Telerik.ReportViewer.Silverlight.xamltemplate file is not loaded correctly, the viewer is not displayed.
Error messages may occur if the additionally required XAML files are not loaded or are not of a version synchronized with Telerik Reporting.
Double-check if the XAML resources are loaded in the application and if the dependencies between Telerik Reporting and Telerik UI for Silverlight are considered. For more details about the settings required by the Silverlight ReportViewer, refer to the article on adding the report viewer to a Silverlight application.
Note that the Telerik Reporting Upgrade Wizard will update only references to the Telerik Reporting assemblies and configuration settings. You will have to manually update the related
Telerik.ReportViewer.Silverlight.xaml files, and the Telerik UI for Silverlight XAML files distributed by Telerik Reporting. The manual update includes the Telerik UI for Silverlight assemblies distributed by Telerik Reporting. If you use Telerik UI for Silverlight as a separate product, run the Telerik UI for Silverlight Upgrade Wizard which will automatically update the Telerik UI for Silverlight assembly references and XAML resources.