편집

다음을 통해 공유


DynamicDataManager.DataControls Property

Definition

Gets the list of data-control references in the DynamicDataManager control.

public:
 property System::Web::DynamicData::DataControlReferenceCollection ^ DataControls { System::Web::DynamicData::DataControlReferenceCollection ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.DynamicData.DataControlReferenceCollection DataControls { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.DataControls : System.Web.DynamicData.DataControlReferenceCollection
Public ReadOnly Property DataControls As DataControlReferenceCollection

Property Value

The list of data-control references in the DynamicDataManager control.

Attributes

Examples

The following example shows markup from a Dynamic Data page template that uses the DataControls property.

<asp:DynamicDataManager ID="DDM1" runat="server">  
  <DataControls>  
    <asp:DataControlReference ControlID="FormView1" />  
  </DataControls>  
</asp:DynamicDataManager>  

<asp:UpdatePanel ID="UpdatePanel1" runat="server">  
  <ContentTemplate>  

    <asp:FormView runat="server" ID="FormView1" DataSourceID="DDS">  
        <!-- Items omitted for clarity. -->  
    </asp:FormView>  

  </ContentTemplate>  
</asp:UpdatePanel>  

Applies to