无法显示此 Web 部件。要解决此问题,请在 Microsoft SharePoint Foundation 兼容的 HTML 编辑器(如 Microsoft SharePoint Designer)中打开此网页。如果问题仍然存在,请联系您的 Web 服务器管理员。
webpart 在 PageLayout 中,插入时没有 webpartzone:
<MyWebParts:MyCustomWebPart runat="server" 描述=""
ListDisplayName=""PartOrder="2"HelpLink=""AllowRemove="True"
IsVisible="True" AllowHide="True" UseSQLDataSourcePaging="True"
ExportControlledProperties="True" DataSourceID=""Title=""ViewFlag="0"
NoDefaultStyle="TRUE" AllowConnect="True" FrameState="Normal"
PageSize="10" PartImageLarge="" AsyncRefresh="True" ExportMode="All"
Dir="默认" DetailLink="" ShowWithSampleData="False" FrameType="None"
PartImageSmall="" IsIncluded="True" SuppressWebPartChrome="False"
AllowEdit="True" ManualRefresh="False" ChromeType="None"
AutoRefresh="False" AutoRefreshInterval="60" AllowMinimize="True"
ViewContentTypeId="" InitialAsyncDataFetch="False"
MissingAssembly="无法导入此 Web 部件。" HelpMode="无模式"
ListUrl="" ID="g_c2180fb9_c667_42f3_aab3_c3340cb0ac5a"
ConnectionID="00000000-0000-0000-0000-000000000000"
AllowZoneChange="True" IsIncludedFilter=""
__MarkupType="vsattributemarkup"
__WebPartId="{C2233FB9-C667-42F3-AAB3-C334223C5A}"
__AllowXSLTEditing="true" WebPart="true" Height="" Width="">
<Xsl>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:模板匹配="/">
<xmp>
<xsl:copy-of select="*"/>
</xmp>
</xsl:模板>
</xsl:样式表>
</Xsl>
<数据源>
<SharePoint:SPDataSource runat="server" DataSourceMode="List"
SelectCommand="<View></View>" UpdateCommand=""
InsertCommand=""DeleteCommand=""UseInternalName="True"
ID="spdatasource3">
<选择参数>
<asp:参数默认值=“0”
Name="StartRowIndex"></asp:Parameter><asp:Parameter DefaultValue="0"
名称="nextpagedata">
</asp:Parameter><asp:Parameter DefaultValue="10"
Name="MaximumRows"></asp:Parameter>
</选择参数>
</SharePoint:SPDataSource>
</数据源>
</MyWebParts:MyCustomWebPart>