473,326 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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


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.
Nov 19 '05 #1
1 1413
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

"Luis Esteban Valencia" wrote:

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.

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: OysterCracker | last post by:
Hi - I've previously used js to swap images on mouseover in a menu. I'm stumped on a different situation and would appreciate some advice. I would like to swap imageA to ImageB when I mouseover...
14
by: J. Makela | last post by:
Hallo. This should be a pretty entertaining question for you *real* javascript writers.. I, being the lowly photoshop guy at an ad agency made the mistake of actually saying "HTML" in a...
4
by: Peter | last post by:
I want to copy a parent class instance's all datas to a child's. It's actually a C++'s copy constructor. But why the following code does not work - there is a compile error! How it should look...
1
by: TJS | last post by:
trying to use this code for mouseover highlight of row but it is not working on the datagrid, nothing happens. Page compiles without errors but no highlighting effects take place. can anyone...
1
by: Michael M | last post by:
Hi I am trying to add mouseover property to asp:datagrid in the asp .net page My pag So the output in HTML for a row should look like <tr style="onmouseover=this.bgcolor=#ff0000;...
5
by: JB | last post by:
I am struggling to figure out a way to allow one element to be dragged, but still capture 'mouseover' events on other elements. I've created a simple example to demonstrate what I mean:...
1
by: giloosh | last post by:
Hello All, How can you continue the mouseover event while the mouse is still over an object? For example: I put my mouse over a hyperlink and that triggers an object to move 10px to the right....
8
by: GS | last post by:
Guys: I have a question, Is it possible to implement pop-up window without Java script, we don't want to use java script since it might get blocked by pop-up blocker. Thanks in advance. GS.
1
by: veer165 | last post by:
I have a list of items... And i want a little thumbnail of each item to be displayed when the mouse is over a particular text ... Say if i have a list of fruits i want an apple thumbnail on the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.