ControlParser Class

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)

No code example is currently available or this language may not be supported.
public final class ControlParser
public final class ControlParser

The T:System.Web.UI.Design.ControlParser class provides methods that can create a T:System.Web.UI.Control control or T:System.Web.UI.ITemplate interface by parsing a string of control- or template-persistence data.

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.

No code example is currently available or this language may not be supported.

System.Object
  System.Web.UI.Design.ControlParser

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 2.0, 1.1, 1.0
Show: