beginner_help
asked on
How to change background color of RADGRID control row based the column values?
Hi
I am using Telerik RadGrid control to display display from a dataset.
Based on the data in a particular column of the row I would like to display different background color for different rows.
Let me say for example I have column called MARKS in my grid, if this column in a row null, then the I want that row background color to be RED.
How ca I do this? Where should I bind this event?
Thanks
I am using Telerik RadGrid control to display display from a dataset.
Based on the data in a particular column of the row I would like to display different background color for different rows.
Let me say for example I have column called MARKS in my grid, if this column in a row null, then the I want that row background color to be RED.
How ca I do this? Where should I bind this event?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
So when I am using if (int.Parse(dataBoundItem["
I tried to use FINDCONTROL to find find the label, but it is throwing exception.
Label lbl=(Label)FindControl("lb
Open in new window