Applying default.master to a custom .aspx page in the _layouts folder
-
16-10-2019 - |
Question
I am using SharePoint Server 2007 + C# + .Net 3.5 + VSTS 2008 + ASP.Net. And I am using collaboration portal template.
I am developing a custom aspx page and put it in _layout folder of a site and I want to apply default.master of the SharePoint site to this aspx page. Any samples about how to achieve this goal?
thanks in advance!
Solution
You need to create a custom HttpModule. Check this sample out.
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange