如何为我的ActionLink的工具提示? [英] How do I get a tooltip for my ActionLink?
本文介绍了如何为我的ActionLink的工具提示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想这应该是简单,但我找不到选项!
我如何获得工具提示/ ALT
我的ActionLink ??
<%= Html.ActionLink(新,列表,FormSummary,新的{childID的= Child.Id},{新类=操作添加} )%GT;
解决方案
这是HTML title属性:
<%= Html.ActionLink(新,列表,FormSummary,新的{childID的= Child.Id},
新{类=操作添加,标题=我的工具提示})%GT;
I think this should be simple, but I can't find the option!
How do I get a tool-tip/alt
for my ActionLink??
<%=Html.ActionLink("New", "List", "FormSummary", new {childId = Child.Id}, new {Class = "action add"})%>
解决方案
It's html title attribute:
<%=Html.ActionLink("New", "List", "FormSummary", new {childId = Child.Id},
new {Class = "action add", title="My Tooltip" })%>
这篇关于如何为我的ActionLink的工具提示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文