Saturday, 17 August 2013

Showing a tooltip for a value in a GridView

Showing a tooltip for a value in a GridView

I have a GridView in my ASP.Net application, for a column called "Has
Holidays". The GridView holds a list of people working on a project. The
column basically indicates if the user has any holiday in a selected
period. "Yes" if he does, and "No" if he doesn't. Because of screen size,
I can't show the dates of his leave. My idea is to allow the user to move
a mouse over the cell, and if it's a 'Yes', display a tooltip popup box
that shows something like:
Leave: From 1st March to 15th March From 19th April to 23rd April
Maybe in a table, nicely formatted. Is there any control that I can use to
do this, or is there some special css magic? I am using Ajax Control
Toolkit at the moment, but can't see anything there that might help.

No comments:

Post a Comment