3
ActionLink htmlAttributes
作品 <a href="@Url.Action("edit", "markets", new { id = 1 })" data-rel="dialog" data-transition="pop" data-icon="gear" class="ui-btn-right">Edit</a> 不起作用-为什么? @Html.ActionLink("Edit", "edit", "markets", new { id = 1 }, new {@class="ui-btn-right", data-icon="gear"}) 看来您无法将诸如data-icon =“ gear”之类的内容传递给htmlAttributes? 有什么建议吗?