I 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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.