mercredi 7 janvier 2015

Sharepoint 2010 MasterPage Custom ASPX Pages



I'm building a custom MasterPage and almost done. I deployed it to the final project and start testing.


Everything seems perfect except some pages. Like if I click on my name the drop down menu will drop down and I can choose "my settings"


Now the layout of this page is still using the default.master and not the one I build. the page name is userdisp.aspx and if you open it in an editor you will find this code:


<%@ Page Language="C#" DynamicMasterPageFile="~masterurl/default.master" Inherits="Microsoft.SharePoint.ApplicationPages.UserDisplayPage"%>


As far as I know is I can build my own page and add it to the _layout folder. but then it will overwrite the original page which I don't want to do that, because if the user try to use another master page it will be a problem.


Does anyone have an idea on how to replace this page when the new masterpage is been deployed?


Thanks in advance








0 commentaires:

Enregistrer un commentaire