Binding nested XML to CheckboxList

后端 未结 1 1911
忘了有多久
忘了有多久 2021-01-27 13:40

I have a nested xml file which contains menu and submenus. I need to bind it to the asp.net CheckBox control on page load.

I am trying to bind using the C#

相关标签:
1条回答
  • 2021-01-27 13:45
    1. Use SiteMap instead of XML file. See here: Using-Menu-and-Sitemap-with-Master-page

    2. Use an TreeView control and bind TreeView to SiteMap.

    3. In TreeView the ShowCheckBoxes property set to All.

    0 讨论(0)
提交回复
热议问题