DynamicDataManager.DataControls Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.