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

Setting style for Top Left RadGridveiwHeader Cell

2 Answers 20 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dominic Savio maria selvaraj
Top achievements
Rank 1
Dominic Savio maria selvaraj asked on 31 Mar 2010, 08:32 AM
Hi,

How can i modify the background of the Top Left Most Header above the indicator in RadGridView,in which style should i do it,
can any one please provide an example.

[Note: i have already defined GridViewHeaderCellStyle,GridViewCellStyle and GridViewRowStyle]
i have attached  a screen shot to explain my query better.

Kindly do the Needful

Thanks and Regards
Dominic savio.M 

2 Answers, 1 is accepted

Sort by
0
Dominic Savio maria selvaraj
Top achievements
Rank 1
answered on 31 Mar 2010, 10:27 AM

Hi,

i have identified the problem with setting background to TopLeftHeaderCell,

when i have a theme applied to the Application the GridViewHeaderRowStyle is not getting applied.

Example:
when i have 

 

StyleManager.ApplicationTheme = ThemeManager.FromName("Vista");

 

 

the below code is not effective

 

 

<Style x:Key="GridViewHeaderRowStyle" TargetType="gridView:GridViewHeaderRow">
<Setter Property="Background" Value="Red" />
</Style>

how can i fix this?

0
Kalin Milanov
Telerik team
answered on 05 Apr 2010, 12:33 PM
Hello Dominic,

I believe this was covered in another forum post of yours. In any case please review this post which illustrates how to go about restyling the header and let me know if you need any additional assistance.

Best wishes,
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
GridView
Asked by
Dominic Savio maria selvaraj
Top achievements
Rank 1
Answers by
Dominic Savio maria selvaraj
Top achievements
Rank 1
Kalin Milanov
Telerik team
Share this question
or