473,779 Members | 1,912 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7279
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*@discussion s.microsoft.com wrote in message
news:62******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com wrote in message
news:62******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com wrote in message
news:84******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com wrote in message
news:62******* *************** ************@mi crosoft.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
1115
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 ID="grdLista" runat="server" DataSourceID="sdsList"
0
1169
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 button i have to validate another column data in the grid. Pl. help me with code snippets. Thank you. <asp:TemplateField HeaderText="Code Translate"> <ItemTemplate>
1
9356
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 GridView.Visible = True. I press HIDE and the GridView disappears as expected. After it I press SHOW and the GridView doesn't show.
3
6516
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 the row being hovered. How can I do that ?
2
2179
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? Here is my code:
1
2706
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, which I had trouble with in the past (i.e. same problem), is now partly broke. The paging no longer fully works in the gridview. The gvAwarded_RowDataBound code works to load the ddlPager with the correct number of pages.
0
4666
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 and also get the datakey (in my case personid) of the the rows selected. Please point me in the right direction. This is what i have so far but i have problem accessing the child gridview in the button click event Cheers, Shilpa. <asp:GridView...
0
1246
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 gridInterfaceCommands_SelectionChanged): ttMyTooltip.SetToolTip(mygrid, "row i") I verified and the command executes (I put a breakpoint...)
0
902
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 characters that is only 100 characters in the gridview display and in tooltip it should show complete text.I can show complete text in the tooltip but cannot display few characters in the grid and also can i specify tooltip time to display any where? can...
0
9632
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10302
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10136
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9925
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8958
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7478
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5501
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4036
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2867
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.