开发者

How can I set attributes on <ul> tag that MvcConrib's MenuBuilder rendered?

I开发者_StackOverflow中文版 use this code the render the menu <% Html.Menu(GridSampleMenu.AdminMenu(Url)); %> but I don't see any option to set the id on the rendered ul tag.

Are this is a known limit?


There is no option out of the box to specify attributes on the elements that the Menu rendered, and I found this MenuBuilder very limited in this kind of functionality.

So, when I need this heavy attributes in any element, I just do it with regular typed HTML.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜