473,796 Members | 2,492 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Datagrid Tooltip....

How to add the tool tip to the datagrid column? I have a situation wherein
the customer number is displayed in the datagrid column. I wanted to display
the corresponding customer first and last name when the user takes the
mouser over the customer # cell.

How to do that?

..Net Framework 1.1.

Smith
Nov 19 '05 #1
4 1746
Hi John,

You might be interested in having a read of the solution provided by Clarke
Scott on his blog:
http://www.clarkescott.com/PermaLink...bc0b045b0.aspx

Although it utilises a 3rd party JavaScript library (overLib) to provide the
solution.

A similar effect may be achieved by using e.Item.Tooltip property.

Regards,
William
http://will.id.au/blog

"John Smith" <JJ************ @hotmail.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
How to add the tool tip to the datagrid column? I have a situation wherein
the customer number is displayed in the datagrid column. I wanted to
display
the corresponding customer first and last name when the user takes the
mouser over the customer # cell.

How to do that?

.Net Framework 1.1.

Smith

Nov 19 '05 #2
Pretty much same if the given idea is applied with this library
http://www.walterzorn.com/tooltip/tooltip_e.htm

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
Nov 19 '05 #3
Excuse my ignorance, but what are all these solutions for? Is there anything
wrong with standard WebControl's ToolTip property? Handle ItemDataBound
event, get down to every TableCell and set it's ToolTip. Am I missing
something?

Eliyahu

"Teemu Keiski" <jo****@aspalli ance.com> wrote in message
news:eB******** ******@TK2MSFTN GP14.phx.gbl...
Pretty much same if the given idea is applied with this library
http://www.walterzorn.com/tooltip/tooltip_e.htm

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

Nov 19 '05 #4
There is nothing wrong with the ASP.NET Web Control Tooltip property.

But if you want to make further customization of the tooltip, this can be
achieved through the use of these JavaScript based tooltips.

The standard tooltip will onlydisplay for a short amount of time. You can
make the custom Javascript ones stay as long as you like. As well as
allowing you to add things like HTML togs to customize the tooltip (eg:
Adding bold /Italic and so on).
Will
"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message
news:u0******** ******@TK2MSFTN GP10.phx.gbl...
Excuse my ignorance, but what are all these solutions for? Is there
anything
wrong with standard WebControl's ToolTip property? Handle ItemDataBound
event, get down to every TableCell and set it's ToolTip. Am I missing
something?

Eliyahu

"Teemu Keiski" <jo****@aspalli ance.com> wrote in message
news:eB******** ******@TK2MSFTN GP14.phx.gbl...
Pretty much same if the given idea is applied with this library
http://www.walterzorn.com/tooltip/tooltip_e.htm

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke


Nov 19 '05 #5

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

Similar topics

1
2992
by: Stephen | last post by:
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>
2
1852
by: Stephen | last post by:
I'm trying to work with a datagrid column in order to display a tooltip in a datagrid cell. The reason I am doing this is because I have some long strings being returned and I don't want the rows of the datagrid expaning down to much. I basically want to display the first 50 characters in the grid cell and then display the rest as a tooltip in the grid cell. I'm not sure if this is possible but if anyone can help me do this I would be very...
4
7545
by: JerryP | last post by:
Hi Group, Id like to have a tooltip for each col in the datagrid. Is there a way to do that ? Thanks ! Jerry
2
4750
by: Stevie_mac | last post by:
I'm probably missing something real easy here but... How do i set Tooltips to the header cells in a datagrid? Detail... Datagrid is databound, using non template named columns with 'Create columns at Run Time' disabled. PS, i know i can set Tooltips to the cell/rows of the datagrid in the ItemDataBound event - but can't seem to get to the header cells!
1
2005
by: Lars Netzel | last post by:
I need to have a Tooltip on each Cell in a datagrid, I don't know how to do this. I'm using Styles to the datagrid (Which I asume most people do since you never need to show all the fields from the source). The Cell I want a tooltip on is styled with a textboxcolumn and the TextBox Object in that TextBox Column doesn't seem to have a property called Tooltip.. so i'm sorta stranded here... Best regards/ Lars
2
1181
by: Raed Sawalha | last post by:
Dear: I have DataGrid , which its task to (Edit, update, and delete) contents of XML File. the structure of XML like this <Info> <Name></Name> <Age></Age>
3
2551
by: Craig G | last post by:
what way do you code it? i tried the following but it wouldnt display it lblAdd_info is a hidden field in the cell itself that contains the data i want to display in the tooltip text. i added the following into the ItemDatabound event for the grif but it wont display If e.Item.ItemType = ListItemType.AlternatingItem Or e.Item.ItemType = ListItemType.Item Then
1
2694
by: Gunjan Garg | last post by:
Hello All, I am working to create a generic datagrid which accepts a datasource(ListData - This is our own datatype) and depending on the calling program customizes itself for sorting, paginantion or accepting the add and remove item events. What i am observing is that none of the vents are happening... (Sort, page, or item). I am sure I am missing something basic here... Need help... Thanks much
0
1126
by: Luis Alonso | last post by:
Hi, I had created a web custom control to ask for user' confirmation on deleting and others process. I put the control in a vb file. The control is really simple: only an image button and a hidden panel to show a wait message.... The control has a PreRender (with a RegsiterClientScriptBlock) event and a Render event (that writes the control) I put the control on a datagrid. The control asks confirmation fine and I'm able to retrieve (in...
0
2093
by: rupalirane07 | last post by:
Both grids displays fine. But the problem is only parent datagrid sorting works fine but when i clik on child datagrid for sorting it gives me error: NullReferenceException error Any help........pls urgent ========================================================= <%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm3.aspx.vb" Inherits="TestDatagrids.WebForm3"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">...
0
9683
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
9529
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10457
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
10013
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
9054
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...
0
5443
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5576
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3733
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2927
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.