Solved

DataGridView Hint

Posted on 2006-07-10
3
847 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 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tableview is not updating 1 28
using sqldatareader to populate cells in Excel-syntax 6 21
Amazon S3 .Net error 5 43
orderby list (from Json) 1 30
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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