PlaceHolder Class
Stores dynamically added server controls on the Web page.
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 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.