How can I turn the output of asp:SiteMapPath into a list?

前端 未结 5 2431
借酒劲吻你
借酒劲吻你 2021-02-20 04:52

I\'m extremely unfamiliar with both .NET and VB.NET and can\'t quite figure out how to do this. Say I have code like this:

&
5条回答
  •  清歌不尽
    2021-02-20 05:14

    The closest I can think of is putting you sitemap into a control. This will however output as an html table, but visually it will show up a list:

    
    
    
    

    Play around with all the styling and formatting options to get your desired output. See here for a detailed walkthrough.

    Oh, and of course you could also look into using a treeview with a sitemap instead (see the same page).

提交回复
热议问题