如何获得ActionLink的工具提示?

时间:2021-10-21 18:19:37

I think this should be simple, but I can't find the option!

我认为这应该很简单,但我找不到选择!

How do I get a tool-tip/alt for my ActionLink??

如何为ActionLink获取工具提示/alt ?

<%=Html.ActionLink("New", "List", "FormSummary", new {childId = Child.Id}, new {Class = "action add"})%>

1 个解决方案

#1


59  

It's html title attribute:

它的html标题属性:

<%=Html.ActionLink("New", "List", "FormSummary", new {childId = Child.Id}, 
  new {Class = "action add", title="My Tooltip" })%>

#1


59  

It's html title attribute:

它的html标题属性:

<%=Html.ActionLink("New", "List", "FormSummary", new {childId = Child.Id}, 
  new {Class = "action add", title="My Tooltip" })%>