NoXaml - Missing Resources

2 posts, 0 answers
  1. IT-Support
    IT-Support avatar
    9 posts
    Member since:
    Dec 2011

    Posted 16 Aug 2013 Link to this post


    I have a problem with the RadGridView (RadControls for WPF Q2 2013) when using the NoXaml assemblies: It seems, that one or two resources from the theme are missing - when i open the filter dialog for a column, the rectangle of the checkbox which has the focus disappears. Also grouping of columns is very slow. 

    Looking at the output window, I see thousends of warnings:
    System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='Telerik.Windows.Controls.InternalResourceKey'; ResourceKey.HashCode='0'; ResourceKey.Type='Telerik.Windows.Controls.InternalResourceKey'

    And also a few warnings of this kind:
    System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Telerik.Windows.Controls.RadGridView', AncestorLevel='2''. BindingExpression:Path=FontSize; DataItem=null; target element is 'ListBox' (Name='PART_DistinctValuesList'); target property is 'FontSize' (type 'Double')

    I have included the required resources of the Window8-Theme and the other controls are working fine (RadComboBox, RadWatermarkTextBox etc.).
            <ResourceDictionary Source="/myAssembly;component/Resources/Theme/System.Windows.xaml" />
            <ResourceDictionary Source="/myAssembly;component/Resources/Theme/Telerik.Windows.Controls.xaml" />
            <ResourceDictionary Source="/myAssembly;component/Resources/Theme/Telerik.Windows.Controls.Input.xaml" />
            <ResourceDictionary Source="/myAssembly;component/Resources/Theme/Telerik.Windows.Controls.Navigation.xaml" />
            <ResourceDictionary Source="/myAssembly;component/Resources/Theme/Telerik.Windows.Controls.GridView.xaml" />
        <!-- Dummy Style -->
        <Style TargetType="{x:Type Rectangle}" />

    Did I miss something?

    Best regards,
  2. IT-Support
    IT-Support avatar
    9 posts
    Member since:
    Dec 2011

    Posted 18 Aug 2013 Link to this post

    Ok, I solved the problem - just in case that somebody run into the same problem:

    • The binding error has been fixed in the latest internal build.
    • The problem with the MouseOver apperance in CheckBoxes can be fixed by editing the "Telerik.Windows.Controls.Navigation.xaml" resource dictionary. I have replaced all occurrences of "{telerik:Windows8Resource ResourceKey=StrongBrush}" with "{StaticResource StrongBrush}" and now the apperance of the CheckBoxes is correct.

    Best regards,
Back to Top