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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.