-
January 22nd, 2009, 04:29 AM
#1
How to show the data grids view in a tooltip?
Hi,
I would like to show a tooltip when the user move the mouse over the first column of my gridview.
The tooltip should be bound to a field of the gridview's datasource that correspond to the row being hovered.
How can I do that ?
Thanks,
Raj
-
January 23rd, 2009, 10:15 AM
#2
Re: How to show the data grids view in a tooltip?
You will need to use the RowDataBound event of the gridview to access the tool tip field and bind it to the field you want to link it to.
-
January 23rd, 2009, 01:35 PM
#3
Re: How to show the data grids view in a tooltip?
going along with cafedreamz, you would use this code inside the "RowDataBound" event
Code:
e.Row.Cells[0].ToolTip = "Hey";
That sets the TooTip for Column 1 to "Hey" for that row.
-
April 8th, 2009, 01:54 AM
#4
Re: How to show the data grids view in a tooltip?
Originally Posted by cafedreamz
You will need to use the RowDataBound event of the gridview to access the tool tip field and bind it to the field you want to link it to.
Thanks for suggestion
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|