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

Controls disappear after changing binary Reference Path to WPF.Conrols

1 Answer 114 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 02 Dec 2015, 01:41 PM

Hi @all,

Im new to Telerik and currenty trying to implement some Telerik Controls (Trial) to an existing Solution.

Two Projects in the solution are WPF Control Libraries.

After installing Telerik for WPF and changing the standard Windows controls to Telerik controls, everything worked as expected.

For Deployment we need to place our references to a different FilePath (Not the Telerik Installation Path).

But after copying the dll-Files to this path and re-reference them from the new path into the solution, no Telerik-Controls are visible

on the UI anymore. The remaining Standard-Windows-Controls (which we have not switches to Telerik yet) are still visible.

Are there best practices to reference the Telerik-Binaries without installing the Telerik-Setup for WPF Controls?

Any suggestions on this?

Thanks in advance

Andreas Geier

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 07 Dec 2015, 08:03 AM
Hello Andreas,

Thank you for contacting us.

The observed by you behavior is not an expected one - when the binaries are copied and get referenced from a path different then the one of the installation folder the controls should be visualized as expected.

However, what we believe might happened is that you copied NoXaml binaries ( from the Binaries.NoXaml folder)  and referenced them. In the normal Xaml binaries you have all the XAML for all components for the themes included in the dll. With the NoXaml you get completely clean assembly with no XAML included - you need to add manually the needed resources for your application or the controls won't be visualized as it is in your case. So, please check if you binaries are NoXaml and change them with Xaml by copying them from the Binaries folder. However, if you want to visualize the controls with the NoXaml binaries Implicit Styles should be used.

Hope this helps.

Regards,
Nasko
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
Andreas
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or