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

[Solved] GridViewHeaderCell style in RadGridView

1 Answer 185 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
JC
Top achievements
Rank 1
JC asked on 20 Oct 2010, 05:56 PM
Hello, 

Since I updated my application from Q2-SP1 to Q3-BETA, the default style of GridViewHeaderCell in the RadGridView is no longer applies.
I write a small code for you :

<UserControl.Resources>
  <ResourceDictionary>
    <Style TargetType="telerik:GridViewHeaderCell">
      <Setter Property="Background" Value="Red"/>
      <Setter Property="BorderBrush" Value="Yellow"/>
    </Style>
  </ResourceDictionary>
</UserControl.Resources>
 
  <Grid x:Name="LayoutRoot" Background="White">
 
      <telerik:GridViewHeaderCell Content="GridViewHeaderCell" Margin="105,39,155,0" VerticalAlignment="Top" d:LayoutOverrides="Width"/>
  <telerik:RadGridView Margin="27,111,45,128" d:LayoutOverrides="Width, Height">
    <telerik:RadGridView.Columns>
      <telerik:GridViewColumn Header="Test"/>
    </telerik:RadGridView.Columns>
  </telerik:RadGridView>
 
</Grid>

So on Q2 header "test" is Red an not in Q3 !
Probably a bug ?

A+
JC

1 Answer, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 21 Oct 2010, 11:56 AM
Hello JC,

I have tested this issue on our end and I can confirm that this is a bug. The fix should be included in our official Q3 release. 

Thanks for pointing this out. I have also updated your telerik points accordingly.

Sincerely yours,
Kalin Milanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
JC
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Share this question
or