0
我創建了自定義Web部件頁面。當我在頁面上添加webparts時,它工作正常。但是,如果我更改webpart區域,那麼它不工作。保存webpart區域後不會更改。Sharepoint webpartzone更改不起作用
我的aspx頁面:
<%@ Page masterpagefile="~masterurl/default.master" language="C#" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full" meta:progid="SharePoint.WebPartPage.Document" %>
<%@ Register Tagprefix="SharePointWebControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation" Assembly="Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
<WebPartPages:SPProxyWebPartManager runat="server" id="spwebpartmanager" />
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="50%"><WebPartPages:WebPartZone runat="server" ID="MainLeft" Title="loc:MainLeft" />
 </td>
<td valign="top" width="50%"><WebPartPages:WebPartZone runat="server" ID="MainRight" Title="loc:MainRight" />
 </td>
</tr>
</table>
</asp:Content>