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

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 1730
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****************@TK2MSFTNGP12.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****@aspalliance.com> wrote in message
news:eB**************@TK2MSFTNGP14.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.com> wrote in message
news:u0**************@TK2MSFTNGP10.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****@aspalliance.com> wrote in message
news:eB**************@TK2MSFTNGP14.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
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...
2
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...
4
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
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...
1
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...
2
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
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...
1
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,...
0
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...
0
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
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: 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: 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
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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.