We want to add Grid Lines to exported excel. How do we do that within this event?
protected void grdInventory_ExcelMLWorkBookCreated(object sender, Telerik.Web.UI.GridExcelBuilder.GridExcelMLWorkBookCreatedEventArgs e) { WorkBook wb = e.WorkBook; StyleElement header = new StyleElement("Header"); header.FontStyle.Bold = true; header.FontStyle.FontName = "Arial"; header.FontStyle.Size = 8; header.AlignmentElement.Attributes["ss:WrapText"] = "1"; wb.Styles.Add(header); }