ASP.NET 3.5 C#: Best way to create and display dynamic menu with submenus

前端 未结 3 1551
野的像风
野的像风 2021-01-26 06:08

I usually just create a datatable with one repeater and have all this html in my codebehind. I have not found an easy method for adding a submenu dynamically. Does anyone have

3条回答
  •  长情又很酷
    2021-01-26 06:26

    Render as a nested list of lists (

  • elements in a
      ). Use a jQuery menu plugin to convert to a dynamic menu.

    提交回复
    热议问题