Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello!

I have a simple web application with a master page. And I have another web application in which I want to use the master page of the 1st web application. Means I want to share master pages across two projects. Please if anyone knows anything about how to do it post your anwers asap.
your help will be highly appreciated..
Posted
Updated 22-Feb-13 2:02am
v2

 
Share this answer
 
Comments
fjdiewornncalwe 23-Feb-13 11:00am    
My 5. These links do solve the OP's problem.
As a note, I would suggest that a resource like the Master Page should not be shared between projects unless they are part of the same solution. The reason I say this is that doing this introduces a bit of a maintenance nightmare in that any change to the originating master page will likely have undesired side effects in the second application. As well, Master Pages tend to require many resources like images and scripts. That means that all these other resources would also need to be shared and that just makes the maintenance nightmare even bigger.
Shubh Agrahari 25-Feb-13 1:17am    
nice knowledge by you thanks
Publish the website that have the master page then you can see the published website bin folder contains a dll file with a strange name install that dll in gac and then you can use the page in more than one sub application.
http://weblogs.asp.net/dwahlin/archive/2005/11/16/430779.aspx[^]

see this blog for complete step by step tutorial. I used this method and it works fine for me ... Cheers :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900