Blinking rows in GridView on some condition

Jul 29 2009 1:19 AM
Dear Friends,

I'm working on a .NET web application wherein I have a gridview. The gridview gets refreshed after some time interval that is specified by user.

Now there is a Time column in the gridview which contains a number (in minutes). This column is invisible. The requirement is for the rows of a gridview to blink if the Time column for those rows has a value less than 120. So all the rows in the grid where the Time column has value < 120 should blink.

So let's say the first time when the page loads only the first five rows of the gridview are blinking (since they satisfy the above condition). Now after the gridview gets refreshed, two more rows get added from the DB and they satisfy the condition above. So in this case, the previous five rows plus the two new rows (7 in total) should blink.

I tried all sorts of javascript function but couldn't achieve this requirement. Can someone help me out with this??

Thanks in advance
Debsoft

Answers (1)