
ControlParser | 683
UI.Design
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
implementation of GetEmptyDesignTimeHtml( ) returns the fully qualified name of the
control. Alternatively, you may want to override this property to supply a place holder
using the CreatePlaceHolderDesignTimeHtml( ). You may also want to override
GetErrorDesignTimeHtml( ) method with specific information based on the exception object
that is provided.
Hierarchy
System.Object ➝ System.ComponentModel.Design.ComponentDesigner(System.Compo-
nentModel.Design.IDesigner, System.IDisposable, System.ComponentModel.Design.
IDesignerFilter)
➝ HtmlControlDesigner ➝ ControlDesigner
Subclasses
Multiple types
ControlParser
System.Web.UI.Design (system.design.dll)
sealed class
This class is used predominantly by the ASP.NET framework. It allows you to generate
a System.Web.UI.Control object from a string that represents the persisted control. You can
perform this operating using the ParseControl( ) method, and you can cast the Control to the
appropriate type to interact with it.
public class ControlDesigner : HtmlControlDesigner {
// Public Constructors
public ControlDesigner();
// Public Instance Properties
public virtual bool AllowResize{get; }
public virtual bool DesignTimeHtmlRequiresLoadComplete{get; }
public virtual string ID{set; get; }
public bool IsDirty