473,654 Members | 3,289 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 2906
How about just

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

<rz******@gmail .com> wrote in message
news:11******** *************@v 46g2000cwv.goog legroups.com...
http://www.codeproject.com/aspnet/Tooltip.asp

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

Bill

"Jeff Dillon" <je********@hot mail.com> wrote in message
news:eT******** ******@TK2MSFTN GP05.phx.gbl...
How about just

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

<rz******@gmail .com> wrote in message
news:11******** *************@v 46g2000cwv.goog legroups.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
1842
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...
0
1145
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 i'm not sure if this is possible and if so I don't know how to right a function to return a tooltip. Can someone please help me with this. <asp:TemplateColumn Visible="True" HeaderText="Start Date"> <ItemTemplate> <span...
4
7537
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
2025
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>
1
1997
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
3
2538
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
4
1741
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 name when the user takes the mouser over the customer # cell. How to do that? ..Net Framework 1.1. Smith
5
1867
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
1665
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 have tried in the Datagrid's Scroll event (using a tooltip control) seems to work. Any ideas ? james
2
2672
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 time? during databound of the grid, I search for the cell where i want a tooltip: cell.ToolTip = "tooltip text"; Can I get the real Tooltip object here and set the time?
0
8376
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
8290
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
8708
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...
1
8489
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8594
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
7307
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
6161
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...
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1596
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.