Cross Application masterpages

G

Guest

I have a scenario where I would like to show contentpages from one asp.NET
application in a masterpage from another application. I've tried to do this
by putting one appilcation in a virtual directory below the other one, but
when I try to set the masterpagefile to ../MasterPage.master I get an error
message saying something about the master being outside the application
directory. Is there any way I could get around this, or is there any other
way I could use a masterpage from another application?
 
B

Brock Allen

MasterPages are compiled just like ASPX pages and ASCX controls, thus they
need to reside under the application directory. You can do the virtual directory
trick as you said you've been doing.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top