This is a migrated thread and some comments may be shown as answers.

change Footer BackColor on DetailTableDataBind

3 Answers 88 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 18 Aug 2008, 03:17 PM
Hello,

I want to change the FooterStyle.BackColor on DetailTableDataBind, after i check the sum of a column. Unfortunetly, this does not happen wright away, but after annother DetailTableDataBind is fired. Do I have to do a Rebind() for this to work?

Thanks

3 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 21 Aug 2008, 01:22 PM
Hi Alex,

Please try changing the footer background color on ItemDataBound RadGrid event instead.

Let us know if you need further assistance/help.

All the best,
Iana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Alex
Top achievements
Rank 1
answered on 21 Aug 2008, 01:57 PM
Hello,

No, that didn't work at all. The background color didn't change. I checked for a GridFooterItem belonging to the child table, and when got it, did the total (no problems here) and changed the bgcolor, but with no effect.
Thanks!
0
Kiara
Top achievements
Rank 1
answered on 22 Aug 2008, 02:12 PM
Can this discrepancy be due to the built-in skin you have for the grid? Try disabling temporary the skin for the control (EnableEmbeddedSkins = false + Skin = "") to see whether this makes a difference.

One additional hint - I found this blog post by a teleriker called Dimo which is tremendously useful to me!

Kiara
Tags
Grid
Asked by
Alex
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Alex
Top achievements
Rank 1
Kiara
Top achievements
Rank 1
Share this question
or