Solved

DataGridView Hint

Posted on 2006-07-10
3
841 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
  • 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 250 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem with SqlConnection 4 160
Events in static methods 3 50
Close form "before" open 3 25
Best resource to learn entity framework 2 0
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now