TBaseDataList is the base class for data listing controls including TDataList and TDataGrid.
Namespace: System.Web.UI.WebControls
Properties
HorizontalAlign, string (Right, Center, Left, Justify, NotSet), default=NotSet, kept in viewstate
Gets or sets the horizontal alignment of a data listing control within its container.
CellPadding, integer, default=-1, kept in viewstate
Gets or sets the cellpadding for the table keeping the checkbox list.
CellSpacing, integer, default=-1, kept in viewstate
Gets or sets the amount of space between cells.
GridLines, string (Both, Vertical, Horizontal, None), default=Both, kept in viewstate
Gets or sets a value specifying whether the border between the cells is displayed.
DataSource, Traversable|array
Gets or sets the list of values to be populated the items within the control
DataKeyField, string, kept in viewstate
Gets or sets the key field in the data source specified by the DataSource property.
DataKeys, array, read-only
Gets a list of key values in a data listing control.
Events
OnSelectionChanged, Occurs when a different item is selected in a data listing control between postbacks.