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. Nested Master Page Problem

Nested Master Page Problem

Scheduled Pinned Locked Moved ASP.NET
helpquestion
6 Posts 3 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.
  • R Offline
    R Offline
    Ravindra Bisen
    wrote on last edited by
    #1

    Hi all, I need to make an application it should have two level menu. for this i created two master pages. Can i select First master page for second mater page(nested concepts).? I have done that but the content of second level master page is not appearing in the content page of second master page.

    N 1 Reply Last reply
    0
    • R Ravindra Bisen

      Hi all, I need to make an application it should have two level menu. for this i created two master pages. Can i select First master page for second mater page(nested concepts).? I have done that but the content of second level master page is not appearing in the content page of second master page.

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Yes, you can have nested master pages, but for creating a two level menu why would you do this?


      I know the language. I've read a book. - _Madmatt

      R 1 Reply Last reply
      0
      • N Not Active

        Yes, you can have nested master pages, but for creating a two level menu why would you do this?


        I know the language. I've read a book. - _Madmatt

        R Offline
        R Offline
        Ravindra Bisen
        wrote on last edited by
        #3

        The situation is like that Level 0ne Link1 Link2 Link3 Level two Link2.1 Link2.2 Link2.3 Level three Link2.1.1 Link2.1.2 Link2.1.3 all level coming from database so i don't want to create upper level menu all time.

        N S 2 Replies Last reply
        0
        • R Ravindra Bisen

          The situation is like that Level 0ne Link1 Link2 Link3 Level two Link2.1 Link2.2 Link2.3 Level three Link2.1.1 Link2.1.2 Link2.1.3 all level coming from database so i don't want to create upper level menu all time.

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          Nested master pages are overkill for this situation. Just build the menu as necessary. Possibly use divs to contain the menus and show/hide as necessary.


          I know the language. I've read a book. - _Madmatt

          1 Reply Last reply
          0
          • R Ravindra Bisen

            The situation is like that Level 0ne Link1 Link2 Link3 Level two Link2.1 Link2.2 Link2.3 Level three Link2.1.1 Link2.1.2 Link2.1.3 all level coming from database so i don't want to create upper level menu all time.

            S Offline
            S Offline
            shreekar
            wrote on last edited by
            #5

            Assuming that the set of menus are defined by the user type, you could build .js files with static menus per user type. Include the appropriate .js file dynamically according to the user. Alternately, include the .js files in the correct set of pages with a particular menu level. Shreekar

            N 1 Reply Last reply
            0
            • S shreekar

              Assuming that the set of menus are defined by the user type, you could build .js files with static menus per user type. Include the appropriate .js file dynamically according to the user. Alternately, include the .js files in the correct set of pages with a particular menu level. Shreekar

              N Offline
              N Offline
              Not Active
              wrote on last edited by
              #6

              For that matter what is the use of the ASP.NET page, it can all be done with JavaScript. X|


              I know the language. I've read a book. - _Madmatt

              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