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

DataGrid Header for Blue Skin

2 Answers 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 31 Jul 2008, 03:59 PM
Hi,

I am using BLUE SKIN for datagrid. The problem i face is...the header row background picture does not have  enough height to hold the entire lettering. How can i solve this??

Thanks
John

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 01 Aug 2008, 06:32 AM
Hello John,

The correct approach in your case is to add a background color in addition to the background image. As a result, the background color will appear in the empty space, where the background image is not present.

By the way, RadGrid for ASP.NET AJAX does not have an embedded skin with the name of "Blue" and the "Blue" skin for the classic RadGrid does not have a background image for its headers. So I guess you are creating a custom skin. In this case, please send this skin if you have further questions about it.

Sincerely yours,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Shinu
Top achievements
Rank 2
answered on 01 Aug 2008, 07:49 AM
Hi John,

You can use the following approach if you are trying to set the height of the RadGrid header .

1. Declarative setting:
<MasterTableView> 
    <HeaderStyle Height="..." /> 
</MasterTableView> 

2. CSS setting with height style:
.RadGrid_Skin  .GridHeader_Skin
.RadGrid_Skin  .ResizeHeader_Skin 
    height: .... ; 
 

You should replace Skin  with the name of the skin you are using.

Thanks
Shinu.
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Shinu
Top achievements
Rank 2
Share this question
or