System.Web.UI.WebControls.DataList: Method Members

The methods of System.Web.UI.WebControls.DataList are listed below. For a list of all members, see the DataList Members list.

See Also: Inherited members from System.Web.UI.WebControls.BaseDataList

Protected Methods

override
CreateControlHierarchy(bool)

Creates the control hierarchy that is used to render the data list control, with or without the specified data source.

override
CreateControlStyle() : Style

Creates the default style object that is used internally by the System.Web.UI.WebControls.DataList control to implement all style related properties.

CreateItem(int, ListItemType) : DataListItem

Creates a System.Web.UI.WebControls.DataListItem object.

InitializeItem(DataListItem)

Initializes a System.Web.UI.WebControls.DataListItem object based on the specified templates and styles for the list-item type.

override
LoadViewState(object)

Loads the previously saved view state of the System.Web.UI.WebControls.DataList control.

override
OnBubbleEvent(object, EventArgs) : bool
Documentation for this section has not yet been entered.
OnCancelCommand(DataListCommandEventArgs)

Raises the DataList.CancelCommand event. This allows you to provide a custom handler for the event.

OnDeleteCommand(DataListCommandEventArgs)

Raises the DataList.DeleteCommand event. This allows you to provide a custom handler for the event.

OnEditCommand(DataListCommandEventArgs)

Raises the DataList.EditCommand event. This allows you to provide a custom handler for the event.

override
OnInit(EventArgs)

Raises the System.Web.UI.Control.Init event for the System.Web.UI.WebControls.DataList control.

OnItemCommand(DataListCommandEventArgs)

Raises the DataList.ItemCommand event. This allows you to provide a custom handler for the event.

OnItemCreated(DataListItemEventArgs)

Raises the DataList.ItemCreated event. This allows you to provide a custom handler for the event.

OnItemDataBound(DataListItemEventArgs)

Raises the DataList.ItemDataBound event. This allows you to provide a custom handler for the event.

OnUpdateCommand(DataListCommandEventArgs)

Raises the DataList.UpdateCommand event. This allows you to provide a custom handler for the event.

override
PrepareControlHierarchy()

Prepares the control hierarchy for rendering in the System.Web.UI.WebControls.DataList control.

override
RenderContents(System.Web.UI.HtmlTextWriter)

Renders the list items in the System.Web.UI.WebControls.DataList control.

override
SaveViewState() : object

Saves the changes to the control view state since the time the page was posted back to the server.

override
TrackViewState()

Tracks view-state changes to the System.Web.UI.WebControls.DataList control so they can be stored in the control's System.Web.UI.Control.ViewState property.