为开发人员提供一种当内容页的关联母版页中已经声明了 WebPartManager 控件的情况下声明内容页中的静态连接的方法。

<asp:ProxyWebPartManager
????EnableTheming="True|False"
????EnableViewState="True|False"
????ID="string"
????OnDataBinding="DataBinding event handler"
????OnDisposed="Disposed event handler"
????OnInit="Init event handler"
????OnLoad="Load event handler"
????OnPreRender="PreRender event handler"
????OnUnload="Unload event handler"
????runat="server"
????SkinID="string"
????Visible="True|False"
>
????????<StaticConnections>
????????????????<asp:WebPartConnection
????????????????????ConsumerConnectionPointID="string"
????????????????????ConsumerID="string"
????????????????????ID="string"
????????????????????ProviderConnectionPointID="string"
????????????????????ProviderID="string">
????????????????????????????<asp:RowToFieldTransformer
????????????????????????????????FieldName="string"/>
????????????????????????????<asp:RowToParametersTransformer
????????????????????????????????ConsumerFieldNames="string"
????????????????????????????????ProviderFieldNames="string"/>
????????????????</asp:WebPartConnection>
????????</StaticConnections>
</asp:ProxyWebPartManager>

Expand 图像备注

Expand 图像示例

Expand image请参见