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
Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

828 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