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. General Programming
  3. C#
  4. Problem to link menu and sitemap...

Problem to link menu and sitemap...

Scheduled Pinned Locked Moved C#
helpquestiondesignxml
2 Posts 2 Posters 3 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 design only one master page for different type of users. Menu items should display accoding to permission for a user type. To design, i have used menu tool. I want to connect the menu with different sitemaps, because sitemap stores xml data. I will provide all sitemap with different names menually. When someone logging in it will check the user type and set menu items accordingly. But sitemap datasource by default connect with web.sitemap and shows menu. There is no option found to menually set other sitemaps for a menu. How can i link with other sitemap at runtime? And how can i design this type of master page? If there is any other process, please tell me. Please help me......... Thank you in advance. :-O

    Dipak

    J 1 Reply Last reply
    0
    • D dipak dipak

      Hello everybody, I want to design only one master page for different type of users. Menu items should display accoding to permission for a user type. To design, i have used menu tool. I want to connect the menu with different sitemaps, because sitemap stores xml data. I will provide all sitemap with different names menually. When someone logging in it will check the user type and set menu items accordingly. But sitemap datasource by default connect with web.sitemap and shows menu. There is no option found to menually set other sitemaps for a menu. How can i link with other sitemap at runtime? And how can i design this type of master page? If there is any other process, please tell me. Please help me......... Thank you in advance. :-O

      Dipak

      J Offline
      J Offline
      J a a n s
      wrote on last edited by
      #2

      You can do this by adding multiple sitemap providers.. 1. Add a new provider in web.config (Here XmlSiteMapProvider1 is the new one) 2. You can point different SiteMapProvider to the sitemapdatasource *jaans

      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