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

[Solved] HeaderStyle CSSClass

1 Answer 324 Views
Grid
This is a migrated thread and some comments may be shown as answers.
maha
Top achievements
Rank 1
maha asked on 16 Jun 2008, 05:05 PM

<

HeaderStyle CssClass="tableTBar" Width="20px"></HeaderStyle>

cssclass is not been applied to the grid

Am i missing something?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 17 Jun 2008, 05:23 AM
Hi Maha,

Try setting the CssClass for the HeaderStyle as shown below.

ASPX:
<head runat="server">  
    <style type="text/css">  
     .tableTBar  
     {  
      background-color:Red !important;  
      
     }  
    </style> 
</head> 

 <Columns> 
    <telerik:GridBoundColumn UniqueName="CustomerID" HeaderText="CustomerID" DataField="CustomerID" > 
      <HeaderStyle HorizontalAlign="Right" CssClass="tableTBar"  /> 
    </telerik:GridBoundColumn> 


Thanks
Princy.
Tags
Grid
Asked by
maha
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or