DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 17 Aug 2007 17:57:38 +0100,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Mick Walker
          2    Teemu Keiski
                 3    Mick Walker


MaterType   
When I want to reference my master page I use the following:
<%@ MasterType  virtualPath="~/Layout.master"%>

Is there anyway I make this global within my project for all content 
pages? (in the web config or such)

Regards
Date:Fri, 17 Aug 2007 17:57:38 +0100   Author:  

Re: MaterType   
Hi,

if you'd use Web Application project model in VS2005, you wouldn't have this 
issue basically because compilation happens beforehand and all types are 
known and available at that time. No need for separate directives etc.

Compilation and Deployment in ASP.NEt 2.0
http://www.code-magazine.com/Article.aspx?quickid=0609061

I'm not aware that MasterType could be set globally.

-- 
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Mick Walker"  wrote in message 
news:5im2e5F3pe1v6U1@mid.individual.net...

> When I want to reference my master page I use the following:
> <%@ MasterType  virtualPath="~/Layout.master"%>
>
> Is there anyway I make this global within my project for all content 
> pages? (in the web config or such)
>
> Regards 
Date:Sat, 18 Aug 2007 13:56:02 +0300   Author:  

Re: MaterType   
Teemu Keiski wrote:

> Hi,
> 
> if you'd use Web Application project model in VS2005, you wouldn't have this 
> issue basically because compilation happens beforehand and all types are 
> known and available at that time. No need for separate directives etc.
> 
> Compilation and Deployment in ASP.NEt 2.0
> http://www.code-magazine.com/Article.aspx?quickid=0609061
> 
> I'm not aware that MasterType could be set globally.
> 

I have looked at the web application Programming model, but I was 
confused at the inability to add an App_Code directory to the project.
I think I need to look into it a little more.
Date:Sun, 19 Aug 2007 12:54:09 +0100   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us