
704
|
Chapter 38: The System.Web.UI.Design.WebControls Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.ComponentModel.Design.ComponentDesigner(System.Compo-
nentModel.Design.IDesigner, System.IDisposable, System.ComponentModel.Design.
IDesignerFilter)
➝ System.Web.UI.Design.HtmlControlDesigner ➝ System.Web.UI.Design.
ControlDesigner
➝ System.Web.UI.Design.TemplatedControlDesigner ➝ BaseDataListDe-
signer(System.Web.UI.Design.IDataSourceProvider)
Subclasses
DataGridDesigner, DataListDesigner
BaseValidatorDesigner
System.Web.UI.Design.WebControls (system.design.dll)
disposable
class
This class provides the design-time representation of controls that inherit from the
System.Web.UI.WebControls.BaseValidator control, including System.Web.UI.WebControls.CompareVali-
dator, System.Web.UI.WebControls.CustomValidator, System.Web.UI.WebControls.RangeValidator, System.Web.UI.
WebControls.RegularExpressionValidator, and System.Web.UI.WebControls.RequiredFieldValidator. It uses an
overridden GetDesignTimeHtml( ) method. Validation controls display the control class
name in red lettering at design time (or the Text property, if set).
Hierarchy
System.Object ➝ System.ComponentModel.Design.ComponentDesigner(System.Compo-
nentModel.Design.IDesigner, System.IDisposable, System.ComponentModel.Design.
IDesignerFilter) ...