System.Web.UI.WebControls.Content.ContentPlaceHolderID Property

Gets or sets the ID of the System.Web.UI.WebControls.ContentPlaceHolder control that is associated with the current content.

Syntax

[System.Web.UI.IDReferenceProperty(typeof(System.Web.UI.WebControls.ContentPlaceHolder))]
[System.ComponentModel.DefaultValue("")]
[System.Web.UI.Themeable(false)]
public string ContentPlaceHolderID { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

All content that is encapsulated by the System.Web.UI.WebControls.Content control renders within the referenced System.Web.UI.WebControls.ContentPlaceHolder control in a master page. A System.Web.UI.WebControls.Content control is not added to the control hierarchy at runtime.

This property cannot be set by themes or style sheet themes. For more information, see System.Web.UI.ThemeableAttribute and ASP.NET Themes Overview.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0