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

Telerik WPF controls doesnt show up on sample project

2 Answers 90 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
santhosh
Top achievements
Rank 1
santhosh asked on 26 Apr 2016, 02:57 PM

Hi,

We have a existing WPF-MVVM project in which if I add any telerik controls, it is reflecting in the screen when I run the application.

But with the same telerik dlls, if I am trying to create a new sample project on one of the controls(ex:RadWindow) I am not able see any controls when I run the application. It just appears blank.

I am not sure what I am missing. Is it mandatory to add Theme resources to the project? or is it something else? Please help me on the same.

 

Thanks,

Santhosh

2 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Ivanov
Telerik team
answered on 27 Apr 2016, 08:10 AM
Hello,

The Telerik UI for WPF product is distributed in two alternative sets of assemblies that differ in the theming mechanism that they use - StyleManager, ImplicitStyles. If the latter assemblies are used (they are the recommended ones), the XAML resources need to be merged in the application resource scope either from a theme assembly, or from separate resource dictionaries. If they are not merged, controls are not visualized, as there are no XAML resources in the control assemblies, and they are blank. The mentioned article describes the process for using the Implicit theming assemblies. If you are still not sure about the set of assemblies you are currently using, you can check it by looking at the assembly's file description. The one that use implicit styles have the "no XAML" text in the description.

Regards,
Ivan Ivanov
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
santhosh
Top achievements
Rank 1
answered on 27 Apr 2016, 02:55 PM
Thanks. That helps a lot.
Tags
General Discussions
Asked by
santhosh
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
santhosh
Top achievements
Rank 1
Share this question
or