Eric Schoenholzer
Top achievements
Rank 2
Eric Schoenholzer
asked on 09 Dec 2008, 11:27 AM
Hi, Where I can add/change styling for the GridGroupFooterItem?
Thanks
Eric
4 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 09 Dec 2008, 12:06 PM
Hello Eric,
You can style the GroupFooter as shown in the code below:
cs:
Thanks
Princy.
You can style the GroupFooter as shown in the code below:
cs:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) |
{ |
if (e.Item is GridGroupFooterItem) |
{ |
GridGroupFooterItem groupFooter = (GridGroupFooterItem)e.Item; |
groupFooter.Cells[3].Text = "Groups"; |
groupFooter.Cells[3].ForeColor = System.Drawing.Color.Red; |
} |
} |
Thanks
Princy.
0
Eric Schoenholzer
Top achievements
Rank 2
answered on 09 Dec 2008, 12:09 PM
Thanks Princy,
Any way to do it declarativly, in ASPX ?
Eric
0
Accepted
Hi EricSch,
The group footer's style is set in the GridGroupFooter_SkinName style class, so you can override it locally, to set the desired properties.
Greetings,
Yavor
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
The group footer's style is set in the GridGroupFooter_SkinName style class, so you can override it locally, to set the desired properties.
Greetings,
Yavor
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Eric Schoenholzer
Top achievements
Rank 2
answered on 09 Dec 2008, 12:57 PM
Princy,
I needed to call
Cell[3] didn't work.
Thanks
Eric
I needed to call
groupFooter.ForeColor = System.Drawing.Color.Red; |
Cell[3] didn't work.
Thanks
Eric