This topic is locked

List Page Row Conditional Format

3/13/2009 4:35:07 AM
ASPRunnerPro General questions
H
HilcrRWise author

I am using the following code to change the background colour of a row in the List page if the Comment field is empty:

if isnull(rs("Comment")) then

row("rowstyle")="style='background:pink'"

end if


This works fine, however, on a row that isn't affected by this colour change when you hover the mouse over the row the entire rows background changes colour so it is highlighted, this does not happen on a row that has had it's background colour changed due to the code.
Is there a way to keep the conditional format code but still allow the row to change colour when the mouse is over it?
Thanks

H
HilcrRWise author 3/17/2009

Any ideas?

J
Jane 3/17/2009

Richard,
to change row style dynamically you need to edit generated ..._list.asp file manually.

Unfortunately we don't have a ready to go solution for this.