
662
|
Chapter 36: The System.Web.UI Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Implemented By
CompiledTemplateBuilder, TemplateBuilder
Returned By
Multiple types
Passed To
Multiple types
IUserControlDesignerAccessor
System.Web.UI (system.web.dll)
interface
This interface defines the properties the IDE should be able to access to retrieve infor-
mation about a user control at design time. This includes two properties, InnerText (the
complete content inside the user control tag) and TagName (the tag name used by the
control). The UserControl class implements the IUserControlDesignerAccessor interface.
Implemented By
UserControl
IValidator
System.Web.UI (system.web.dll)
interface
This interface defines members used for validation controls. The Validate( ) method is
used to examine supplied information, compare it with the valid parameters, and
update IsValid property appropriately. The ErrorMessage contains the message that should
be generated for the user when the supplied information is not valid.
When creating a custom validation control, you do not need to implement this inter-
face. Instead, you should inherit from one of the validation classes in the System.Web.UI.
WebControls namespace. The base class, System.Web.UI.WebControls.BaseValidator, implements
this interface.
Implemented By
System.Web.UI.MobileControls.BaseValidator ...