Is it possible to implement mouseover on a particular word in a datagrid

  • Thread starter Luis Esteban Valencia
  • Start date
L

Luis Esteban Valencia

Is it possible to implement mouseover on a particular word in a datagrid
(not mouseover on the entire cell)? For instance, assuming tha I have a
'Definitions' MSSQL table as such:

Definitions
=======
Abbreviation Meaning
-------------- ----------
JVM Java Virtual Machine
Mac Macintosh
PC Personal Computer
OS Operating System
etc, etc.

Resultantly, in my data grid if any of the above abbreviations appear, on
mouseover I would like to display the 'Meaning' (using div??). Is this
possible? If so, could you provide some suggestions?

Thank you.
 
G

Guest

Hi,

In the DataGrid's ItemDataBound event, wrap the text with <a> element and
set the onmouseover attribute to call the javascript function which displays
the div at the particular position.

Prakash.NET
 

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

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,058
Members
48,769
Latest member
Clifft

Latest Threads

Top