Solved

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

Posted on 2009-05-18
3
1,006 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

746 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

11 Experts available now in Live!

Get 1:1 Help Now