Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 3rd, 2007, 12:37 PM
Authorized User
Join Date: Jun 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default MasterPage in different folder / level

Hello, I have sub-domains with Default.aspx in. I want them to use my Site's root MasterPage, but they won't!
So, for example my site is set up like this:





In my code for the subDomains:
<%@ page Language="VB" MasterPageFile="~/MasterPage.master" CodeFile="~/SubDomain_CodeFile.aspx.vb" Inherits="SubDomain_CodeFile_Default" %>


I have done alot of reading and there doesn't seem to be any out-of-the-box support for master pages in a different folder.

How do I go about this ?


Similar Threads
Thread Thread Starter Forum Replies Last Post
MasterPage grstad ASP.NET 2.0 Basics 0 June 7th, 2008 04:30 AM
change masterpage based on the folder crab BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 April 14th, 2008 09:32 AM
App_Code folder shared on only 1 folder? rpeters83 ASP.NET 2.0 Professional 1 September 1st, 2006 10:53 PM
Making a folder virtual folder on button click in CsharpHelp C# 0 October 26th, 2005 05:57 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.