master page across multiple web applications is broke?

Discussion in 'ASP .Net' started by Andy B, Nov 19, 2007.

  1. Andy B

    Andy B Guest

    I am trying to use a master page in more than 1 web application. I am
    looking through a post on how to do it and it says "In the MasterPageFile
    attribute, refer to the master page in the root project using a relative
    path from the current document. " Ok so I did
    MasterPageFile="~/Site1.Master" and the file doesn't exist. I tried
    "../Site1.Master" and ".." isn't allowed at the beginning of a path. I tried
    "~../Site1.Master" and the file doesn't exist. My question is how to refer
    to the master page like that statement said? I know he has images of how it
    should look but I can't view the images so text is better for me to look at
    right now.
    Andy B, Nov 19, 2007
    #1
    1. Advertising

  2. You can not use Masterpage across multiple applications.

    Masterpage must be in the same project where aspx file that using it.....

    George.


    "Andy B" <> wrote in message
    news:O$...
    >I am trying to use a master page in more than 1 web application. I am
    >looking through a post on how to do it and it says "In the MasterPageFile
    >attribute, refer to the master page in the root project using a relative
    >path from the current document. " Ok so I did
    >MasterPageFile="~/Site1.Master" and the file doesn't exist. I tried
    >"../Site1.Master" and ".." isn't allowed at the beginning of a path. I
    >tried "~../Site1.Master" and the file doesn't exist. My question is how to
    >refer to the master page like that statement said? I know he has images of
    >how it should look but I can't view the images so text is better for me to
    >look at right now.
    >
    >
    >
    George Ter-Saakov, Nov 19, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JC
    Replies:
    1
    Views:
    545
  2. Replies:
    1
    Views:
    645
  3. Doug McCann
    Replies:
    1
    Views:
    992
    William Brogden
    Aug 5, 2004
  4. Ily
    Replies:
    1
    Views:
    273
    John Timney \(MVP\)
    Nov 21, 2006
  5. grasp06110
    Replies:
    2
    Views:
    528
    Pritam Barhate
    Jan 5, 2008
Loading...

Share This Page