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

[Solved] Changing backcolor of whole row based on column value..

2 Answers 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Milan Gurung
Top achievements
Rank 1
Milan Gurung asked on 24 Jul 2009, 10:07 AM
Hi,

Can anyone hint me how do I change the backcolor of the whole row when the value of column in one of cells matches some condition?

Eg.

If the cell text =10 then change the backcolor of the whole row containing that cell


Many thanks.

Milan G

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 24 Jul 2009, 10:27 AM
Hello Milan,

You can check out the following help document which explains on how to conditionally format your grid rows:
Conditional Formatting for rows/cells on ItemDataBound

-Princy.
0
Milan Gurung
Top achievements
Rank 1
answered on 24 Jul 2009, 12:42 PM
Thanks a lot Princy.
Tags
Grid
Asked by
Milan Gurung
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Milan Gurung
Top achievements
Rank 1
Share this question
or