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

[Solved] Global style not applied to RadGridView

2 Answers 96 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alexander
Top achievements
Rank 1
Alexander asked on 04 Mar 2011, 03:02 PM
Hi,
In our application we use some RadGridView. So we decided to make a global style which wil be applied for all of them. The style looks like this:
<Style x:Key="RadGridViewStyle" TargetType="telerik:RadGridView">
        <Setter Property="Property:RadGridViewSettings.SaveSettings" Value="True" />
</Style>
 We also registered the style file in App.xaml, but unfortunatelly the style is not applied.

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 04 Mar 2011, 03:05 PM
Hello,

 Can you remove  x:Key="RadGridViewStyle" to see what will be the result? 

All the best,
Vlad
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Alexander
Top achievements
Rank 1
answered on 07 Mar 2011, 09:11 AM
Hi,
I removed x:Key="RadGridViewStyle"  and it works fine.
Thank you.
Tags
GridView
Asked by
Alexander
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Alexander
Top achievements
Rank 1
Share this question
or