Solved

C#.NET GridView - Command Field (Edit) onmouseover

Posted on 2009-05-18
3
1,011 Views
Last Modified: 2012-06-21
I would like to display some Text when a user hovers over a CommandField (Edit) in a GridView in my application.  Any ideas?
0
Comment
Question by:jamesdean666
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
saragani earned 500 total points
ID: 24415820
Would something like that help you?

dataGridView1.Rows[i].Cells[j].ToolTipText = "Some Text Here";
0
 

Author Comment

by:jamesdean666
ID: 24417378
Works like a charm.. thanks.  I actually had multiple rows, so I modified the code a bit:

for (int i = 0; i < GridView2.Rows.Count; i++)
{
    this.GridView2.Rows[i].ToolTip = "This is hover over text";
}

Thanks.
0
 

Author Closing Comment

by:jamesdean666
ID: 31582750
See my comment below this solution.
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

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…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

20 Experts available now in Live!

Get 1:1 Help Now