Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
protected
void
RadGrid1_ExcelExportCellFormatting(
object
sender, ExcelExportCellFormattingEventArgs e)
{
if
(e.Cell.Parent
is
GridHeaderItem)
GridHeaderItem item = e.Cell.Parent
as
GridHeaderItem;
item.Style[
"background-color"
] =
"#359AFF"
;
}
foreach (GridHeaderItem Header in radgrid1.MasterTableView.GetItems(GridItemType.Header))
Header.BackColor = System.Drawing.Color.Black;
Header.ForeColor = System.Drawing.Color.White;