Controls disappear after changing binary Reference Path to WPF.Conrols

2 posts, 0 answers
  1. Andreas
    Andreas avatar
    1 posts
    Member since:
    Dec 2015

    Posted 02 Dec 2015 Link to this post

    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

  2. Nasko
    Nasko avatar
    556 posts

    Posted 07 Dec 2015 Link to this post

    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.

    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
  3. DevCraft banner
Back to Top