Avatar of jassiFDK
jassiFDK

asked on 

Share master pages store at common location with different sites

i have sites under wwwroot

\Site1
\Site2
\Site2\Site3

and I have master page at location under wwwroot in folder \sharemaster\test\application.master

and I want to use this master page in site1,site2 and site 3.
When I try using the MasterpageFile to point to "\sharemaster\test\application.master"
I get error message virtual path points to different application.
How can I share/use this master page with different sites
Can you please help
ASP.NET

Avatar of undefined
Last Comment
jassiFDK
Avatar of Alfred A.
Alfred A.
Flag of Australia image

ASKER CERTIFIED SOLUTION
Avatar of Alfred A.
Alfred A.
Flag of Australia image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Obadiah Christopher
I guess u hav 2 do it frm code-behind. In the pre init event
Avatar of jassiFDK
jassiFDK

ASKER

Thanks Alfred
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo