laura
laura

Reputation: 2961

How do I get a tooltip for my ActionLink?

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"})%>

Upvotes: 36

Views: 27201

Answers (1)

driushkin
driushkin

Reputation: 3659

It's html title attribute:

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

Upvotes: 63

Related Questions