BaseDataList

BaseDataListdisposable

System.Web.UI.WebControls (system.web.dll)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 adjacent content).

public abstract class BaseDataList : WebControl { // Public Constructors    public BaseDataList( ); // Public Instance Properties    public virtual int CellPadding{set; get; }    public virtual int CellSpacing{set; get; }    public override ControlCollection Controls{get; }             // overrides System.Web.UI.Control    public virtual string DataKeyField{set; get; }    public DataKeyCollection DataKeys{get; }    public string DataMember{set; get; }    public virtual object DataSource{set; get; }    public virtual GridLines GridLines{set; get; }    public virtual HorizontalAlign HorizontalAlign{set; get; } // Protected Instance Properties    protected ArrayList DataKeysArray{get; } // Public Static Methods    public static bool IsBindableType(Type type); // Public Instance Methods    public override void DataBind( );                 // overrides System.Web.UI.Control // Protected Instance Methods    protected override void AddParsedSubObject(object obj);      // overrides System.Web.UI.Control    protected override void CreateChildControls( );                // overrides System.Web.UI.Control    protected abstract void CreateControlHierarchy(bool useDataSource);    protected override void OnDataBinding(EventArgs e);          // overrides System.Web.UI.Control    protected virtual void OnSelectedIndexChanged(EventArgs e);    protected abstract void PrepareControlHierarchy( );    protected override void Render(System.Web.UI.HtmlTextWriter writer);   // overrides WebControl // Events    public event EventHandler SelectedIndexChanged; }

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) BaseDataList

Subclasses

DataGrid, DataList



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net