WPF/XBAP pages doesnt render WPF rad controls

2 posts, 0 answers
  1. Raghava
    Raghava avatar
    6 posts
    Member since:
    Oct 2012

    Posted 01 Nov 2012 Link to this post

    I am using VS 2012 and 4.5 framework to create WPF XBAP project, and WPF RadControls. Problem I have is Page/Window/UserControl doesn't show telerik WPF rad controls. It is not a problem with System.Windows.Controls.

    I used 2012.3.1029.40 version for the screenshots. but it is same with Q3 release binaries too.

    What I am doing wrong here? Or Is something wrong with my environment or VS 2012? Please help, it is wasting my time a lot. :(
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 06 Nov 2012 Link to this post

    Hi,

     As far as I can see you are using implicit styles (together with our NoXaml binaries) however it seems that you've missed to register them in your App.xaml. For example:

    <Application.Resources>
            <ResourceDictionary>
                <ResourceDictionary.MergedDictionaries>
                    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/System.Windows.xaml"/>
                    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.xaml"/>
                </ResourceDictionary.MergedDictionaries>
            </ResourceDictionary>
        </Application.Resources>

    More info can be found here:
    http://www.telerik.com/help/wpf/styling-apperance-implicit-styles-overview.html

    You can check also the attached example application for reference. 

    All the best,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top