1

当用户鼠标悬停在操作链接上时如何显示评论?我正在使用 gridview,这是我的专栏之一,其中包含一个操作链接:

grid.Column(header: "", format:  (item) => Html.ActionLink("Détails", "Details",
 new { id = item.id_projet}, new { @class = "details" }), style: "actions")
4

1 回答 1

3

你的意思是一个标题?

grid.Column(header: "", format:  (item) => Html.ActionLink("Détails", "Details",
 new { id = item.id_projet}, new { @class = "details", @title = "text here" }),
 style: "actions")  

text here如果您悬停链接,这将显示文本。

于 2012-09-03T14:46:22.233 回答