ControlParser Class
.NET Framework 2.0
Provides methods for creating a Web Server Control control or ITemplate interface from a string of aspx code that represents a persisted control or template.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
The following code example shows how to get the HTML markup for a control on a page using the ControlPersister class and how to create a control from HTML markup using the ControlParser class. The example also shows how to use Microsoft Windows–based dialog boxes from a designer.
- SecurityPermission for operating with unmanaged code. Associated enumeration: UnmanagedCode
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.
Show: