How to create a page without custom master page. I want v4 master page for that page.
-
A webpart is not a page, so it does not use a master page– Robert LindgrenMay 20, 2014 at 9:54
-
i want to create a page that does not inherit master page but it has its own master page v4.– JonMay 20, 2014 at 9:56
-
Then your question should probably state that and not webpart– Robert LindgrenMay 20, 2014 at 10:07
-
how can we do it .– JonMay 20, 2014 at 10:17
-
Mayby a application page? msdn.microsoft.com/en-us/library/ee231581.aspx– ChristofferMay 20, 2014 at 10:34
2 Answers
How about a application page? Creating Application Pages for SharePoint
"An application page is an ASP.NET Web page that is designed for use in a SharePoint Web site. Application pages are a specialized type of ASP.NET page. The primary difference between an application page and a standard ASP.NET page is that an application page contains content that is merged with a SharePoint master page. A master page enables application pages to share the same appearance and behavior as other pages on a site.
You can explicitly change which master page is used by the application page by setting the MasterPageFile attribute of the application Page element. (For example: MasterPageFile="~/_layouts/applicationv4.master"). In fact, you must set this attribute if dynamic master pages are not enabled on the SharePoint server."
-
what i have done is simply created one page and chage its master page throw designer . thnx.– JonMay 20, 2014 at 11:28
-
-
@Christoffer but we can't use asp.net standard pages in SharePoint though can we ? Jul 3, 2017 at 11:40
You can change the MasterPage on a non-publishing site via 'Change the Look' in site settings.
Simply navigate to Site settings then click on “Change the look”.
On the Themes page click on the theme that you are using.
Next on the left pane you can select the master page for this theme.
Next click on “Try it Out” and then “Yes, keep it”
and you’re done
-
1This does not seem to answer the question of how to create a page without a masterpage? Feb 12, 2015 at 15:56
-
His comment on May 20th suggested that he wanted to change the MasterPage. Sorry if I was incorrect or if this post was unhelpful. Feb 12, 2015 at 15:57