Link to home
Start Free TrialLog in
Avatar of josephdaviskcrm
josephdaviskcrmFlag for United States of America

asked on

ASP.NET - add tooltips to GridView

I've got a situation where I'm binding a DataTable to a GridView.  In the resulting table are a bunch of scores and for each score in the table I need there to be a tooltip displayed on hover that shows that date of that score.

What I tried to do was to edit the DataTable that I was binding to the GridView control so that each field with score text was changed to have the text surrounded with a span tag which had a title of the date.  The result of this effort was that the entire span tag was printed out in the table cell.

Is there anyway to configure the GridView so that it doesn't encode the characters < and > to &lt; and &gt; when the control renders?

Or is there any other way to get at what I'm trying to do?
ASKER CERTIFIED SOLUTION
Avatar of tetorvik
tetorvik
Flag of Finland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial