ReportViewer Cell Formatting
- by firedrawndagger
I need to change the color of a cell in ReportViewer based on its value.
1) I got the first part down - I'm comparing the difference between two numbers like so:
=IIf(Fields!variance.Value > 0)
2) Now how do I actually change the visual formatting of the cell?
A web standards way would be to add a class - since then you can format the class to whatever you like, e.g. changing borders, typography, bacgkround color etc. Since ReportViewer sucks and doesn't have that functionality what should I use instead? Any hacks I could use?