XAML Resources-Related Errors Occur on Building Silverlight Applications
|Product||Progress® Telerik® Reporting|
|Version||Q2 2012 and later|
XAML resources-related errors occur on building 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.