protected void RadGrid1_BiffExporting(object sender, GridBiffExportingEventArgs e) { //if (CheckBox2.Checked) { e.ExportStructure.Tables[0].Columns[1].Style.BackColor = System.Drawing.Color.LightGray; } }
protected void RadGrid1_BiffExporting(object sender, GridBiffExportingEventArgs e) { xls.Table tbl = e.ExportStructure.Tables[0]; //tbl.Rows[1].Height = 30; tbl.Columns[1].Width = 25; tbl.Columns[1].Style.HorizontalAlign = HorizontalAlign.Left; tbl.Columns[2].Width = 25; tbl.Columns[2].Style.HorizontalAlign = HorizontalAlign.Left; tbl.Columns[3].Width = 25; tbl.Columns[3].Style.HorizontalAlign = HorizontalAlign.Left; tbl.Columns[4].Width = 35; tbl.Columns[4].Style.HorizontalAlign = HorizontalAlign.Left; }
protected void RadGrid1_BiffExporting(object sender, GridBiffExportingEventArgs e) { xls.Table tbl = e.ExportStructure.Tables[0]; //tbl.Rows[1].Height = 30; tbl.Columns[1].Width = 25; tbl.Columns[1].Style.HorizontalAlign = HorizontalAlign.Left; tbl.Columns[2].Width = 25; tbl.Columns[2].Style.HorizontalAlign = HorizontalAlign.Left; tbl.Columns[3].Width = 25; tbl.Columns[3].Style.HorizontalAlign = HorizontalAlign.Left; tbl.Columns[4].Width = 35; tbl.Columns[4].Style.HorizontalAlign = HorizontalAlign.Left; }
protected void rgResult_BiffExporting(object sender, GridBiffExportingEventArgs e) { try { e.ExportStructure.Tables[0].Columns[1].Style.BackColor = System.Drawing.Color.LightGray; } catch (Exception ex) { if (_lstError == null) { _lstError = new List <string>(); } _lstError.Add(ex.Message); Alerta = _lstError; } }
protected void RG_Usuarios_BiffExporting(object sender, GridBiffExportingEventArgs e) { e.ExportStructure.Tables[0].Columns[1].Style.BackColor = System.Drawing.Color.LightGray; }