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
Printable View
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
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.
going along with cafedreamz, you would use this code inside the "RowDataBound" event
That sets the TooTip for Column 1 to "Hey" for that row.Code:e.Row.Cells[0].ToolTip = "Hey";