The resource GridViewGroupFooterCellStyle could not be resolved

2 posts, 0 answers
  1. Edward
    Edward avatar
    13 posts
    Member since:
    Oct 2013

    Posted 17 Oct 2013 Link to this post

    using example for map.silverlight/theatre/example.xaml for the silverlight controls.
    It uses a gridview and defines some style elements in the header:

                <Style TargetType="telerik:GridViewHeaderCell" BasedOn="{StaticResource GridViewHeaderCellStyle}">
                    <Setter Property="BorderBrush" Value="{telerik:Windows8Resource ResourceKey=BasicBrush}" />
                    <Setter Property="BorderThickness" Value="0, 0, 0, 1"/>
                </Style>
                <Style TargetType="telerik:GridViewHeaderRow" BasedOn="{StaticResource GridViewHeaderRowStyle}">
                    <Setter Property="BorderThickness" Value="0"/>
                </Style>

    Getting "the resource 'GridViewHeaderCellStyle' could not be resolved" and "the resource GridViewHeaderRowStylecould not be resolved".
    So added <ResourceDictionary Source="/ESRI.SilverlightViewer;component/GridViewStyles.xaml" /> which is also from the examples solution.

    But in that xaml, getting
    The resource "GridViewGroupFooterCellStyle" could not be resolved.
    The resource "MainBrush" could not be resolved.

    Also tried adding:           
    <ResourceDictionary.MergedDictionaries>
                    <telerik:Windows8ResourceDictionary/>
    </ResourceDictionary.MergedDictionaries>
    in the App.xaml...  didn't resolve it.

    What else do I need? 

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 18 Oct 2013 Link to this post

    Hi,

    Please check our online documentation on Implicit Styles and ensure that this is the correct path to the ResourceDictionary.
    Then, you can also check this discussion.

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top