• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1044
  • Last Modified:

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

I would like to display some Text when a user hovers over a CommandField (Edit) in a GridView in my application.  Any ideas?
0
jamesdean666
Asked:
jamesdean666
  • 2
1 Solution
 
saraganiCommented:
Would something like that help you?

dataGridView1.Rows[i].Cells[j].ToolTipText = "Some Text Here";
0
 
jamesdean666Author Commented:
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
 
jamesdean666Author Commented:
See my comment below this solution.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now