UpdatePanel::ContentTemplateContainer Property
.NET Framework (current version)
Gets a control object to which you can programmatically add child controls.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
public: [BrowsableAttribute(false)] property Control^ ContentTemplateContainer { Control^ get(); }
Property Value
Type: System.Web.UI::Control^A Control object that defines the content of the UpdatePanel control.
The ContentTemplateContainer property enables you to programmatically add child controls to the UpdatePanel control without having to define a custom template that inherits from the ITemplate interface. If you are adding content to the UpdatePanel control declaratively or through a designer, you should add content to the ContentTemplate property by using a <ContentTemplate> element.
.NET Framework
Available since 3.5
Available since 3.5
Show: