New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Server-side Programming Overview

For a detailed list with the server-side properties and methods of the control, see the Server-Side API of the RadListView class.

Following are tables of the most important properties and event you should be aware of when working with RadListView.

Properties

PropertyDescription
AllowCustomPagingGets or sets a value that indicates whether custom paging is enabled.
AllowCustomSortingGets or sets a value that indicates whether custom sorting is enabled.
AllowMultiFieldSortingGets or sets the value indicating whether more than one column can be sorted in a single RadListView . The order is the same as the sequence of expressions in SortExpressions.
AllowMultiItemEditGets or sets a value indicating whether Telerik RadListView will allow you to have multiple items in edit mode. The default value is false .
AllowMultiItemSelectionGets or sets a value indicating whether Telerik RadListView will allow you to select multiple items. By default this property is set to false .
AllowNaturalSortWhen the property is set to true the no-sort state when changing sort order is allowed. Set it to false to force only two-way sorting (ascending and descending).
AllowPagingGets or sets a value indicating whether the paging feature is enabled.
CanRetrieveAllDataGets or sets a value indicating whether Telerik RadListView should retrieve all data and ignore server paging in case of filtering or grouping.
InsertItemPositionGets or sets the position of the InsertItemTemplate template when RadListView is in insert mode. The possible values are: None , FirstItem , LastItem .
ItemPlaceholderIDGets or sets the ID for the item placeholder in a RadListView control.
OverrideDataSourceControlSortingWhen the property is set to true, the RadListView control will sort internally instead of the DataSourceControl.
SortExpressionsAdd or remove objects to this collection to set sorting programmatically.
VirtualItemCountGets or sets a value, indicating the total number of items in the data source when custom paging is used. Thus RadListView "understands" that the data source contains the specified number of records and it should fetch merely part of them at a time to execute requested operation.
ClientSettings.AllowItemsDragDropGets or sets a value, indicating if Items Drag & Drop in RadListView capability is enabled.

Events

CategoryEventDescription
ActionItemCancelingFired when the Cancel button is clicked for an item in the RadListView control.
ItemCommandFired when any button is clicked in the RadListView control. All bubbled events from grid items fire RadListView.ItemCommand . Those like - Edit, Delete, or Update command events can be used to handle custom data-editing in RadListView.
ItemCreatedFired on the server when an item in the RadListView control is created.
ItemDataBoundFired after an item is databound to the RadListView control.
ItemDeletedFired when an automatic delete operation is executed.
ItemDeletingFired before an automatic delete operation is executed.
ItemDropFired when drag and drop operation is triggered from the client.
ItemEditingFired when the Edit button is clicked for an item in the RadListView control.
ItemInsertedFired when an automatic insert operation is executed.
ItemInsertingFired before an automatic insert operation is executed.
ItemUpdatedFired when an automatic update operation is executed.
ItemUpdatingFired before an automatic update operation is executed.
LayoutCreatedFired when the LayoutTemplate template is created in a RadListView control.
NeedDataSourceFired when RadListView needs a data source for rebinding.
PageIndexChangedFired when one of the page selection elements is clicked.
PageIndexChangedFired when one of the page selection elements is clicked.
PageSizeChangedFired when the page size is changed through the advanced pager or manually in code.
SelectedIndexChangedFired when a different item is selected in a data listing control between posts to the server.
SortingFired when a sort operation is requested and before the RadListView control handles the sort operation.
DataDataBinding (inherited from Control )Fired right before the server control binds to a data source.
DataBound (inherited from Control )Fired when the server control is bound to a data source.
MiscDisposed (inherited from Control )Fired when a server control is released from the memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.
Init (inherited from Control )Fired when the server control is initialized, which is the first step in its lifecycle.
Load (inherited from Control )Fired when the server control is loaded into the RadListView object.
PreRender (inherited from Control )Fired when the server control is about to render to its containing Page object.
Unload (inherited from Control )Fired when the server control is unloaded from the memory.
In this article
PropertiesEvents
Not finding the help you need?
Contact Support