在Layouts page上添加引用masterpage

<%@ Page language="C#" Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage,Microsoft.SharePoint.Publishing,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %>

改为

<%@ Page language="C#" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c"  MasterPageFile="/_catalogs/masterpage/xxxx/customize.master"   %>

posted @ 2012-06-04 15:22  大刀客  阅读(154)  评论(0编辑  收藏  举报