ASP.NET PlaceHolder 控件


up.gif Web 服務(wù)器控件

定義和用法

PlaceHolder 控件用于為代碼添加的控件預(yù)留空間。

注釋:PlaceHolder 不會(huì)產(chǎn)生任何可見的輸出(僅僅是網(wǎng)頁(yè)上其它控件的容器)。


屬性

屬性描述
runat規(guī)定控件是服務(wù)器。必須設(shè)置為 "server"。

Web 控件標(biāo)準(zhǔn)屬性

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

如需完整描述,請(qǐng)?jiān)L問 Web 控件標(biāo)準(zhǔn)屬性。

Control Standard Properties

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

如需完整描述,請(qǐng)?jiān)L問 控件標(biāo)準(zhǔn)屬性。


up.gif Web 服務(wù)器控件