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. how to attach master page onto existing solution or proj.

how to attach master page onto existing solution or proj.

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

    Hi: I have created a simple web page and was able to published. Anyhow, I went back and create a master page. How can I tied the rest of the pages onto my master page. I found most example showed how to create a master page then create a default.aspx then selected master page to attch them together. Thanks in advance. Eyungwah

    M H 2 Replies Last reply
    0
    • E Eyungwah

      Hi: I have created a simple web page and was able to published. Anyhow, I went back and create a master page. How can I tied the rest of the pages onto my master page. I found most example showed how to create a master page then create a default.aspx then selected master page to attch them together. Thanks in advance. Eyungwah

      M Offline
      M Offline
      mareers
      wrote on last edited by
      #2

      if u want the master page remain the same for ur entire application, configure it in ur web.config file in the following way..... ----- ---- or... if u want this to be master page for some of ur aspx pages then include the Page directive in ur aspx page and assign the master file in the masterfile attribute of the page directive...

      mareers

      M 1 Reply Last reply
      0
      • E Eyungwah

        Hi: I have created a simple web page and was able to published. Anyhow, I went back and create a master page. How can I tied the rest of the pages onto my master page. I found most example showed how to create a master page then create a default.aspx then selected master page to attch them together. Thanks in advance. Eyungwah

        H Offline
        H Offline
        Harini N K
        wrote on last edited by
        #3

        Hi I think that is possible, you need to set in the Web.config file. Please refer this link for more information http://msdn2.microsoft.com/en-us/library/wtxbf3hh.aspx[^]

        Harini

        1 Reply Last reply
        0
        • M mareers

          if u want the master page remain the same for ur entire application, configure it in ur web.config file in the following way..... ----- ---- or... if u want this to be master page for some of ur aspx pages then include the Page directive in ur aspx page and assign the master file in the masterfile attribute of the page directive...

          mareers

          M Offline
          M Offline
          mareers
          wrote on last edited by
          #4

          f u want the master page remain the same for ur entire application, configure it in ur web.config file in the following way..... ----- in configuration tag then system.web tag in pages tag specify the location of ur masterfile in the masterpagefile attribute close pages tag close system.web tag close configuration tag ---- or... if u want this to be master page for some of ur aspx pages then include the Page directive in ur aspx page and assign the master file in the masterfile attribute of the page directive...

          mareers

          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