Show/Hide Toolbars

Navigation: Advanced topics > Events > Sample events > Appearance

asprunnernet32x32     ASPRunner.NET manual

Change cell background color

Scroll Prev Next More


To change any cell background color use the following code in After Record Processed event.


yellowbulbNote: Change the values listed in red to match your specific needs.



record["FieldName_css"] = "background: red;";


Also you can change background color of a cell when the mouse hovers over it:



record["FieldName_hovercss"] = "background: yellow;";


See also

Change row background color

Conditional formatting