UpdatePanel.Controls 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 ControlCollection object that contains the child controls for the UpdatePanel control.
public:
property System::Web::UI::ControlCollection ^ Controls { System::Web::UI::ControlCollection ^ get(); };
public override sealed System.Web.UI.ControlCollection Controls { get; }
member this.Controls : System.Web.UI.ControlCollection
Public Overrides NotOverridable ReadOnly Property Controls As ControlCollection
Property Value
The collection of child controls for the UpdatePanel control.
Exceptions
The Add(Control), AddAt(Int32, Control), Clear(), Remove(Control), or RemoveAt(Int32) method of the ControlCollection class has been called. To change the content of the UpdatePanel control, modify the child controls of the ContentTemplateContainer property.
Remarks
The Controls property is overridden from the base Control class and sealed to prevent additional derivation. To add controls to the UpdatePanel control declaratively, create a <ContentTemplate>
element inside the UpdatePanel control markup. To add controls to the UpdatePanel control programmatically, use the ContentTemplateContainer property.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示