Reputation:
How to display a comment when the user mouse is over an action link? I'm using a gridview and here is one of my columns that contains an action link :
grid.Column(header: "", format: (item) => Html.ActionLink("Détails", "Details",
new { id = item.id_projet}, new { @class = "details" }), style: "actions")
Upvotes: 1
Views: 54
Reputation: 13155
Do you mean a title?
grid.Column(header: "", format: (item) => Html.ActionLink("Détails", "Details",
new { id = item.id_projet}, new { @class = "details", @title = "text here" }),
style: "actions")
This will display the text text here
if you hover the link.
Upvotes: 3