This is a migrated thread and some comments may be shown as answers.

The resource GridViewGroupFooterCellStyle could not be resolved

1 Answer 214 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Edward
Top achievements
Rank 1
Edward asked on 17 Oct 2013, 02:13 PM

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? 

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 18 Oct 2013, 11:05 AM
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 >>
Tags
GridView
Asked by
Edward
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or