Can you add a tooltip to a datagrid column

G

Guest

Is it possible to add a tooltip in the column of a Datagrid. Can someone
please show me how I would do this for the datagrid column below. Thanks for
any help anyone can give me.

Here is the datagrid coloum which I want to put the tooltip
when the user hovers over it.

<asp:BoundColumn DataField="ID" SortExpression="ID" HeaderText="ID">
<HeaderStyle ForeColor="White" CssClass="dgHeader">
</HeaderStyle>
<ItemStyle Font-Size="10pt" Height="11px" CssClass="A">
</ItemStyle>
</asp:BoundColumn>
 
N

Nicholas Paldino [.NET/C# MVP]

Stephen,

I don't know if this is possible. If anything, you would have to write
javascript code which would show a tooltip (which I am not sure you could
do) which is triggered when you hover over a cell.

You might be able to get away with something similar, using DHTML, but
that would be a pain, IMO.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top