Latest web development tutorials

ASP.NET PlaceHolder Controls

Web Server Controls Web server control

Definition and Usage

PlaceHolder control is used to reserve space for the control code added.

Note: PlaceHolder does not produce any visible output (just a container for other controls on the page).


Attributes

属性 描述
runat 规定控件是服务器。必须设置为 "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 full description, visit the Web Control Standard Attributes .

Control Standard Properties

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

For a full description, go to Control Standard Attributes .


Web Server Controls Web server control