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. Menu Links In Master Pages

Menu Links In Master Pages

Scheduled Pinned Locked Moved ASP.NET
workspace
3 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.
  • B Offline
    B Offline
    Brendan Vogt
    wrote on last edited by
    #1

    Hi, I'm trying to setup my menu links in my master page so that it can be used by all pages irrespective how far down the page hierarchy you are.   I haven't done this in ages, I know it is something like: <a href="<% "~/Product/Default.aspx" %>">Home</a> Please can someone advise. Regards, Brendan

    B 1 Reply Last reply
    0
    • B Brendan Vogt

      Hi, I'm trying to setup my menu links in my master page so that it can be used by all pages irrespective how far down the page hierarchy you are.   I haven't done this in ages, I know it is something like: <a href="<% "~/Product/Default.aspx" %>">Home</a> Please can someone advise. Regards, Brendan

      B Offline
      B Offline
      Brij
      wrote on last edited by
      #2

      Why don't you use asp.net menu control.. for details have a look You can also use normal html links and give look n feel using css as per your need.

      Cheers!! Brij

      B 1 Reply Last reply
      0
      • B Brij

        Why don't you use asp.net menu control.. for details have a look You can also use normal html links and give look n feel using css as per your need.

        Cheers!! Brij

        B Offline
        B Offline
        Brendan Vogt
        wrote on last edited by
        #3

        I'm not looking to use it as a menu. I have links across that are used over all pages irrespective where you, so menu control will not work. Like for example Contact Us, Terms and Conditions, etc. How would I do these links? I can use html links like I showed in my example, but how do I get the href part correct as "../" won't work. Please can someone advise?

        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