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
  1. Home
  2. Web Development
  3. ASP.NET
  4. Overwrite sitemap node

Overwrite sitemap node

Scheduled Pinned Locked Moved ASP.NET
helpcomtutorialquestion
4 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.
  • T Offline
    T Offline
    TheEagle
    wrote on last edited by
    #1

    Hi, Iam trying to overwrite the sitemap nodes by adding for example ?ID=1 to the URL when the user click one of the menu links in the master page depending on the following article: http://msdn.microsoft.com/en-us/library/ms178425.aspx[^] I put the code in the master page because it has the navigation menu and it receives the querystring from a page in another mater page. I made some debugging already and found that the resolve event handler private method code is not hit?! Could any one help to solve this problem.

    I am too late but i will never give up

    N 1 Reply Last reply
    0
    • T TheEagle

      Hi, Iam trying to overwrite the sitemap nodes by adding for example ?ID=1 to the URL when the user click one of the menu links in the master page depending on the following article: http://msdn.microsoft.com/en-us/library/ms178425.aspx[^] I put the code in the master page because it has the navigation menu and it receives the querystring from a page in another mater page. I made some debugging already and found that the resolve event handler private method code is not hit?! Could any one help to solve this problem.

      I am too late but i will never give up

      N Offline
      N Offline
      nyeboy
      wrote on last edited by
      #2

      You must write code in destination page,not a master page.

      studing is processing in this life.

      T 1 Reply Last reply
      0
      • N nyeboy

        You must write code in destination page,not a master page.

        studing is processing in this life.

        T Offline
        T Offline
        TheEagle
        wrote on last edited by
        #3

        But this mean for me writing in 40 forms or in a page class so they inherit from.But I tried this already and it didn't work I mean the ID is forgotten when navigate from page to another.

        I am too late but i will never give up

        N 1 Reply Last reply
        0
        • T TheEagle

          But this mean for me writing in 40 forms or in a page class so they inherit from.But I tried this already and it didn't work I mean the ID is forgotten when navigate from page to another.

          I am too late but i will never give up

          N Offline
          N Offline
          nyeboy
          wrote on last edited by
          #4

          The argument ID should post to destination page from master page.As for detail with this argument,using class is just a good method in 40 forms.

          studing is processing in this life.

          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