473,503 Members | 5,284 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tooltip on Datagrid Cell

I would like to display tooltip for the currenCell (selected).
For example
Col1 = storeID
Col2 = Store name.

Since Col2's width is 20 characters, some of the tore names are truncated.
The tooltip should help showing the full store name when user hover the the
mouse over the currencell.

Any help is greatly appreciated.

Bill
May 12 '06 #1
3 2897
How about just

e.Item.Cells.Item(4).ToolTip = strTooltip

<rz******@gmail.com> wrote in message
news:11*********************@v46g2000cwv.googlegro ups.com...
http://www.codeproject.com/aspnet/Tooltip.asp

May 12 '06 #3
Thanks both of you for the tip.

Bill

"Jeff Dillon" <je********@hotmail.com> wrote in message
news:eT**************@TK2MSFTNGP05.phx.gbl...
How about just

e.Item.Cells.Item(4).ToolTip = strTooltip

<rz******@gmail.com> wrote in message
news:11*********************@v46g2000cwv.googlegro ups.com...
http://www.codeproject.com/aspnet/Tooltip.asp


May 12 '06 #4

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

Similar topics

2
1837
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...
0
1135
by: Stephen | last post by:
I have the following column and so far im able to bind the column to CompanyName and only return the first 50 characters. The second function i'd like to retun a tooltip for that datagrid cell but...
4
7528
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
2018
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...
1
1993
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...
3
2533
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...
4
1735
by: John Smith | last post by:
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...
5
1855
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
1657
by: james | last post by:
I have been looking for a way to reproduce the tooltip that Access displays when scrolling the Datagrid that shows the record count (changes as you move the thumb up or down). So far, nothing I...
2
2664
by: geronimi | last post by:
I want a tooltip (in an item in a datagrid) to stay for more then 5 seconds (standard) visible, Do I have to write my own Toolip or can I change a setting somewhere to increase the tooltip visible...
0
7194
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,...
0
7267
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,...
0
7316
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...
1
6976
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
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...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
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 ...
1
729
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.