water hr team saravanan

2 posts, 0 answers
  1. vickranth
    vickranth avatar
    1 posts
    Member since:
    Mar 2009

    Posted 18 Mar 2009 Link to this post

    Cannot find resource named '{DefaultCheckBoxStyle}'. Resource names are case sensitive.  Error at object 'System.Windows.Controls.CheckBox' in markup file 'ExampleControl;component/example.xaml' Line 141 Position 23.


    in chart flexible Api program.


    tell me the solution
  2. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 23 Mar 2009 Link to this post

    Hello vickranth,

    The issue here comes from the fact, that the example uses common resources with the QSF. This is done to have coherent look of the whole QSF.

    To fix it, just remove those styles from the xaml.
    Example:
     <ComboBox Style="{StaticResource DefaultComboBoxStyle}" ItemContainerStyle="{StaticResource DefaultComboBoxStyleItem}" x:Key="FormatComboX"  SelectionChanged="ComboBox_SelectionChanged" SelectedValuePath="Content" /> 

    Remove the Style="{StaticResource DefaultComboBoxStyle}", so the ComboBox becomes:

     <ComboBox ItemContainerStyle="{StaticResource DefaultComboBoxStyleItem}" x:Key="FormatComboX"  SelectionChanged="ComboBox_SelectionChanged" SelectedValuePath="Content" /> 

    Do the same for all missing styles.

    All the best,
    Evtim
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top