473,383 Members | 1,922 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,383 software developers and data experts.

GridView - ToolTip

I have a very unique requirement, I have to add a tooltip in a grid view
control, the tooltip should be similar to this link:

http://web-graphics.com/mtarchive/BubbleTooltips.html ...(hover at the link)

Do you have any suggestion on this..

Thanks

ASP.NET 2.0 / C#

Mar 23 '07 #1
3 7256
It is not that difficult. Basically, you need to handle client side events
onmouseover and onmouseout for the grid cells. In the event handlers you
will control the cursor shape and make a tooltip with some javascripting and
background images. You will need to setup the event handlers in the grid's
RowDataBound event with the TableCell's Attributes collection. You can pass
the tooltip text in the ToolTip property and pick it up on client side in
the <td>'s title property.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Raj" <Ra*@discussions.microsoft.comwrote in message
news:62**********************************@microsof t.com...
I have a very unique requirement, I have to add a tooltip in a grid view
control, the tooltip should be similar to this link:

http://web-graphics.com/mtarchive/BubbleTooltips.html ...(hover at the
link)
>
Do you have any suggestion on this..

Thanks

ASP.NET 2.0 / C#

Mar 23 '07 #2
Hi

Thanks !

I am not able to follow "In the event handlers you will control the cursor
shape and make a tooltip with some javascripting and background images."

"Eliyahu Goldin" wrote:
It is not that difficult. Basically, you need to handle client side events
onmouseover and onmouseout for the grid cells. In the event handlers you
will control the cursor shape and make a tooltip with some javascripting and
background images. You will need to setup the event handlers in the grid's
RowDataBound event with the TableCell's Attributes collection. You can pass
the tooltip text in the ToolTip property and pick it up on client side in
the <td>'s title property.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Raj" <Ra*@discussions.microsoft.comwrote in message
news:62**********************************@microsof t.com...
I have a very unique requirement, I have to add a tooltip in a grid view
control, the tooltip should be similar to this link:

http://web-graphics.com/mtarchive/BubbleTooltips.html ...(hover at the
link)

Do you have any suggestion on this..

Thanks

ASP.NET 2.0 / C#


Mar 23 '07 #3
This means you have to be able to produce some javascript that will achieve
the desired effect.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Raj" <Ra*@discussions.microsoft.comwrote in message
news:84**********************************@microsof t.com...
Hi

Thanks !

I am not able to follow "In the event handlers you will control the cursor
shape and make a tooltip with some javascripting and background images."

"Eliyahu Goldin" wrote:
>It is not that difficult. Basically, you need to handle client side
events
onmouseover and onmouseout for the grid cells. In the event handlers you
will control the cursor shape and make a tooltip with some javascripting
and
background images. You will need to setup the event handlers in the
grid's
RowDataBound event with the TableCell's Attributes collection. You can
pass
the tooltip text in the ToolTip property and pick it up on client side in
the <td>'s title property.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Raj" <Ra*@discussions.microsoft.comwrote in message
news:62**********************************@microso ft.com...
I have a very unique requirement, I have to add a tooltip in a grid
view
control, the tooltip should be similar to this link:

http://web-graphics.com/mtarchive/BubbleTooltips.html ...(hover at the
link)
>
Do you have any suggestion on this..

Thanks

ASP.NET 2.0 / C#



Mar 25 '07 #4

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

Similar topics

0
by: Fernando Monteiro | last post by:
Hello, Could anyone please help me ? I've a GridView and I'd like to insert one of the girdview's dataset field as a row tooltip. The grid view is declared like: <asp:GridView...
0
by: Krish | last post by:
Hello Gurus, I have GridView control on web page which has couple of radio button controls as one group. On editing a particular row in grid, i have to validate based on user selection on radio...
1
by: Miguel Dias Moura | last post by:
Hello, I have a GridView in my page which is created in runtime. It works fine. My page has 2 Asp Buttons: - The HIDE button makes GridView.Visible = False; - The SHOW button makes...
3
by: graphicsxp | last post by:
Hi, I would like to show a tooltip when the user move the mouse over the first column of my gridview. The tooltip should be bound to a field of the gridview's datasource that correspond to...
2
by: shapper | last post by:
Hello, I need to get the value of a Gridfiew field named "Channel" which is the first column of the Gridview. I want to use that value to build the ToolTip of an image. How can I do this? ...
1
by: mark4asp | last post by:
I moved a page to another web-site and now it's broke! I had 5 pages in their own web-site. These pages have now been moved to another web-site. Everything is fine except that one of the pages,...
0
by: sharonrao123 | last post by:
hello all, I have a parent gridview company and in this one a nested gridview people, Is it possible to allow the user to select one row or multiple rows from the people gridview using a check box...
0
by: =?Utf-8?B?R3V5IENvaGVu?= | last post by:
Hi all I use vb 2005 and gridview control I want to use a tooltip control When the user clicks a row, set the tooltip to "row i" where i is the row number. I did (in...
0
by: mahesh123 | last post by:
Hi, I am using gridview in my asp.net with VB form.If i have long text to be displayed in one of the columns in gridview it is showing complete text.Waht i want is it should show only few...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.