0
我在ASP.NET頁面上聲明瞭SharePoint WebPartZone。驗證(ASP.Net):屬性'DisplayTitle'不是元素'WebPartZone'的有效屬性
這與<asp:WebPartZone/>
控件不一樣。
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages"
Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<WebPartPages:WebPartZone ID="LeftNavZone" runat="server" DisplayTitle="loc:LeftNavZone">
</WebPartPages:WebPartZone>
Visual Studio 2010中顯示如下的 「信息」,在錯誤列表窗口:
驗證(ASP.Net):屬性 'DISPLAYTITLE' 不是元素 '的WebPartZone' 的有效屬性。
當肯定是...
WebPartZone.DisplayTitle Property
這是不是類混亂的問題,因爲DISPLAYTITLE也是System.Web.UI.WebControls.WebParts.WebPartZone
控制(從WebPartZoneBase
繼承)的屬性:
WebPartZoneBase.DisplayTitle Property
那麼是什麼原因?我怎樣才能擺脫這個信息?
當我打開項目時,在項目中的每個頁面上都有這些消息之一...肯定令人討厭。