
658
|
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.
IAttributeAccessor
System.Web.UI (system.web.dll)
interface
This interface is implemented by the System.Web.UI.WebControls.WebControl and System.Web.UI.
HtmlControls.HtmlControl base control classes. It allows you to programmatically access and
modify any of the attributes that are defined in the opening tag of a server control. For
example, you can use GetAttribute( ) to access an attribute by name and retrieve its string
vlaue, and you can use SetAttribute( ) to access an attribute by name and supply a new
string value that should be applied. This interface is primarily of interest if you want to
provide this functionality in a custom control that does not derive from System.Web.UI.
WebControls.WebControl or System.Web.UI.HtmlControls.HtmlControl.
Implemented By
UserControl, System.Web.UI.HtmlControls.HtmlControl, System.Web.UI.MobileControls.
{DeviceSpecificChoice, MobileControl}, System.Web.UI.WebControls.{ListItem, WebControl}
IDataBindingsAccessor
System.Web.UI (system.web.dll)
interface
This interface is implemented by all controls that derive from Control. It allows access to
the corresponding DataBindingCollection through the DataBindings property. As the DataBinding-
Collection represents data bindings created in the IDE, the properties ...