?
Solved

DataGridView Hint

Posted on 2006-07-10
3
Medium Priority
?
853 Views
Last Modified: 2012-05-05
How can I display a hint or message or tooltip when the mouse is pointed at the row header instead of the cell?
0
Comment
Question by:michellechan57
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Expert Comment

by:SystemExpert
ID: 17078999
Hi

rerad this and conver it in c#

Private Sub DataGrid1_ItemCreated(ByVal sender As Object, ByVal e As  
                      System.Web.UI.WebControls.DataGridItemEventArgs)  Handles DataGrid1.ItemCreated
 
    If e.Item.ItemType = ListItemType.Header Then
            e.item.cells(0).Tooltip = "Name"
            e.item.cells(1).Tooltip = "Age"

    end if

End Sub


=============
ref : http://www.extremeexperts.com/Net/CodeSnippets/ToolTipForDataGridHeader.aspx

thanks
0
 
LVL 10

Accepted Solution

by:
SystemExpert earned 1000 total points
ID: 17079002
Hi

And This is what you want
and it's with C#


http://www.netomatix.com/GridToolTip.aspx

Thanks
0
 

Author Comment

by:michellechan57
ID: 17085666
Hi SystemExpert, thanks for your response.
Sorry for not being specific - I need solution for VS2005, C# windows form - DataGridView control.
I could not find ItemCreated event in DataGridView.
Thanks.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month14 days, 1 hour left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question