Choose masterpage base on request
-
07-12-2019 - |
سؤال
Is it possible to set current request's masterpage based on query string, so that everybody will get default masterpage except one with ?masterpage=MyCustomMasterpage in URL, who will get MyCustomMasterpage masterpage?
المحلول
I also have a blog post on how to set master pages dynamically--that may also help you as it supports the post Alexander posted, though not as detailed.
نصائح أخرى
You can create your own HttpModule. Read this post for more details.
لا تنتمي إلى sharepoint.stackexchange