You can format the text depending on the value of another cell by using the CellFormatting
event. In you code snippet, you should change the Text
property instead of the Value
property. You can use the following code snippet as sample:
sender, CellFormattingEventArgs e)
GridViewRowInfo rowInfo = e.CellElement.RowInfo;
value = Convert.ToInt32(rowInfo.Cells[
(value == 2 && e.Column.Name ==
I hope this helps.
the Telerik team
You’ve been asking for it and now it’s time for us to deliver. RadControls for WinForms Q3 2012 release is just around the corner. Sign up for a free webinar
to see first all the latest enhancements.