Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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"})%> 
like image 537
laura Avatar asked Mar 07 '11 16:03

laura


1 Answers

It's html title attribute:

<%=Html.ActionLink("New", "List", "FormSummary", new {childId = Child.Id},    new {Class = "action add", title="My Tooltip" })%> 
like image 146
driushkin Avatar answered Sep 28 '22 14:09

driushkin