Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Problem in creating menu items using XML

Problem in creating menu items using XML

Scheduled Pinned Locked Moved ASP.NET
helpxml
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dipak dipak
    wrote on last edited by
    #1

    Hello Everybody, I want to set a menu in master page which would be link with a xml file. Because i want to use different different menu for different type of users. when i creating xml - like this : <HOME> <Node url="" title="Dipak" description=""> <Node url="" title="Dipak1" description="" /> <Node url="" title="Dipak2" description="" /> <Node url="" title="Dipak3" description="" /> <Node url="" title="Dipak4" description="" /> </Node> <Node url="" title="Rajesh" description=""> <Node url="" title="Rajesh1" description="" /> <Node url="" title="Rajesh2" description=""> <Node url="" title="Rajesh2-1" description="" /> <Node url="" title="Rajesh2-2" description="" /> </Node> </Node> </HOME> <DOWNLOAD></DOWNLOAD> // error shows here It prevents to create multiple root. When i remove the <DOWNLOAD></DOWNLOAD> portion, on the page it shows only one menu item at starting. and on mouse over on HOME shows other child items. Please help me to create menu items and their child items using xml. Or any special idea... Help me. Thank you in advance.

    Dipak

    P 1 Reply Last reply
    0
    • D dipak dipak

      Hello Everybody, I want to set a menu in master page which would be link with a xml file. Because i want to use different different menu for different type of users. when i creating xml - like this : <HOME> <Node url="" title="Dipak" description=""> <Node url="" title="Dipak1" description="" /> <Node url="" title="Dipak2" description="" /> <Node url="" title="Dipak3" description="" /> <Node url="" title="Dipak4" description="" /> </Node> <Node url="" title="Rajesh" description=""> <Node url="" title="Rajesh1" description="" /> <Node url="" title="Rajesh2" description=""> <Node url="" title="Rajesh2-1" description="" /> <Node url="" title="Rajesh2-2" description="" /> </Node> </Node> </HOME> <DOWNLOAD></DOWNLOAD> // error shows here It prevents to create multiple root. When i remove the <DOWNLOAD></DOWNLOAD> portion, on the page it shows only one menu item at starting. and on mouse over on HOME shows other child items. Please help me to create menu items and their child items using xml. Or any special idea... Help me. Thank you in advance.

      Dipak

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      You seem to have an extra closing node tag.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups