Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET PlaceHolder Control

ASP.NET PlaceHolder Control


Web Server Controls Web Server Controls


Definition and Usage

The PlaceHolder control is used to reserve space for controls added by code.

**Note:** The PlaceHolder produces no visible output (it is merely a container for other controls on the web page).


property

property Description
runat Specifies that the control is a server control. Must be set to "server".

Web Control Standard Properties

AccessKey, Attributes, BackColor, BorderColor, BorderStyle, BorderWidth, CssClass, Enabled, Font, EnableTheming, ForeColor, Height, IsEnabled, SkinID, Style, TabIndex, ToolTip, Width

For a complete description, please visit Web Control Standard Properties。

Control Standard Properties

AppRelativeTemplateSourceDirectory, BindingContainer, ClientID, Controls, EnableTheming, EnableViewState, ID, NamingContainer, Page, Parent, Site, TemplateControl, TemplateSourceDirectory, UniqueID, Visible

For a complete description, please visit Web Control Standard Properties。


Web Server Controls Web Server Controls