Hi,
I have a numeric bound column where I want to show data in red if it's negative.
boundcolumn.HtmlEncode =
false;
boundcolumn.DataFormatString =
"{0:#,###.00;<font color=red>(#,###.00)</font>;-}";
and the output that I am getting in the column is
<font color=red>(2,621,591.96)</font>
Any clues how I can get it right?
Regards
Hi rohitarora,
What version and build number are you running? I know there was a bug fix around this a little while ago. If you upgrade to the latest Service Release, it may be resolved. You are correct that you'd need HtmlEncode false. If it still doesn't work with the latest SR, let us know.
regards,
David Young
Hi David,
I am using
Infragistics.Web.UI.GridControls.WebDataGrid, Infragistics35.Web.v10.3, Version=10.3.20103.2073
Is that the latest one?
If not, still I may not be able to upgrade. So, any workaround that you may aware of?