PlaceHolder Class
.NET Framework 2.0
Stores dynamically added server controls on the Web page.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
Use the PlaceHolder control as a container to store server controls that are dynamically added to the Web page. The PlaceHolder control does not produce any visible output and is used only as a container for other controls on the Web page. You can use the Control.Controls collection to add, insert, or remove a control in the PlaceHolder control.
| Topic | Location |
|---|---|
| How to: Create Templated ASP.NET User Controls | Building ASP .NET Web Applications |
| How to: Add Controls to an ASP.NET Web Page Programmatically | Building ASP .NET Web Applications |
| How to: Add PlaceHolder Web Server Controls to a Web Forms Page | Building ASP .NET Web Applications |
| How to: Create Instances of ASP.NET User Controls Programmatically | Building ASP .NET Web Applications |
| How to: Create Templated ASP.NET User Controls | Building ASP .NET Web Applications |
| How to: Add Controls to an ASP.NET Web Page Programmatically | Building ASP .NET Web Applications |
| How to: Add PlaceHolder Web Server Controls to a Web Forms Page | Building ASP .NET Web Applications |
| How to: Create Instances of ASP.NET User Controls Programmatically | Building ASP .NET Web Applications |
| How to: Add PlaceHolder Web Server Controls to a Web Forms Page (Visual Studio) | Building ASP .NET Web Applications in Visual Studio |
- AspNetHostingPermission for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
- AspNetHostingPermission for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: