
BaseDataList | 827
WebControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.Web.UI.Control(System.ComponentModel.IComponent, System.
IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor)
➝
WebControl(System.Web.UI.IAttributeAccessor) ➝ Label ➝ BaseValidator(System.Web.UI.
IValidator)
➝ BaseCompareValidator
Subclasses
CompareValidator, RangeValidator
BaseDataList
System.Web.UI.WebControls (system.web.dll)
disposable
abstract class
This abstract class provides basic functionality for the DataList and DataGrid web controls.
These controls include data binding (through the DataBind( ) method and properties like
DataSource), and simple formatting through various table-specific properties, including
CellPadding (the space between content in a cell and the cell borders), CellSpacing (the space
between cells), and HorizontalAlign (the position of the table relative to the page or adja-
cent content).
protected override void AddAttributesToRender(System.Web.UI.HtmlTextWriter writer); // overrides BaseValidator
protected override bool DetermineRenderUplevel(); // overrides BaseValidator
}
public abstract class BaseDataList : WebControl {
// Public Constructors
public BaseDataList();
// Public Instance Properties
public virtual int CellPadding{set; get; }
public virtual int