Hi All,
In my grid, I have total two rows in Header section. I need to give two different color for these two rows. Can you let me know how to set different row background color for the rows present in Header section?
Thanks in advance,
-Suresh
Hello,
You can use the property BackColor of column header. Please take a look at the code below:
protected void Page_Load(object sender, EventArgs e) { UltraWebGrid1.Columns[0].Header.Style.BackColor = Color.Red; }
Hope this helps.