【发布时间】:2011-06-06 10:21:13
【问题描述】:
我想将 htmlAttributes 作为参数传递给我的 HtmlHelper,就像它在 Html.ActionLink("linktext", "Home", null, new{width="100px"}) 如何将这个新的{width="100px"} 传递给我的方法
public static string SelectCategoryAdminWithAllItem(this HtmlHelper htmlHelper, string name, **???**)
{ }
以及如何解析它?
谢谢
【问题讨论】:
标签: asp.net-mvc asp.net-mvc-2 html-helper