?
Solved

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

Posted on 2009-05-18
3
Medium Priority
?
1,022 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
[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 11

Accepted Solution

by:
saragani earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

770 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