New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.RadWebControlTelerik.Web.UI.RadListView

Events

Adds a Command event handler for the radlistview

JS
add_Command
Parameters:handlerFunction

The event handler function to attach

Adds a DataBinding event handler for the radlistview

JS
add_DataBinding
Parameters:handlerFunction

The event handler function to attach

Adds a DataBindingFailed event handler for the radlistview

JS
add_DataBindingFailed
Parameters:handlerFunction

The event handler function to attach

Adds a DataBound event handler for the radlistview

JS
add_DataBound
Parameters:handlerFunction

The event handler function to attach

Adds a DataSourceResolved event handler for the radlistview

JS
add_DataSourceResolved
Parameters:handlerFunction

The event handler function to attach

Adds a ItemDeselected event handler for the radlistview

JS
add_ItemDeselected
Parameters:handlerFunction

The event handler function to attach

Adds a ItemDeselecting event handler for the radlistview

JS
add_ItemDeselecting
Parameters:handlerFunction

The event handler function to attach

Adds a ItemDragging event handler for the radlistview

JS
add_ItemDragging
Parameters:handlerFunction

The event handler function to attach

Adds a ItemDragStarted event handler for the radlistview

JS
add_ItemDragStarted
Parameters:handlerFunction

The event handler function to attach

Adds a ItemDropped event handler for the radlistview

JS
add_ItemDropped
Parameters:handlerFunction

The event handler function to attach

Adds a ItemDropping event handler for the radlistview

JS
add_ItemDropping
Parameters:handlerFunction

The event handler function to attach

Adds a ItemSelected event handler for the radlistview

JS
add_ItemSelected
Parameters:handlerFunction

The event handler function to attach

Adds a ItemSelecting event handler for the radlistview

JS
add_ItemSelecting
Parameters:handlerFunction

The event handler function to attach

Adds a ListViewCreated event handler for the radlistview

JS
add_ListViewCreated
Parameters:handlerFunction

The event handler function to attach

Adds a ListViewCreating event handler for the radlistview

JS
add_ListViewCreating
Parameters:handlerFunction

The event handler function to attach

Adds a ListViewDestroying event handler for the radlistview

JS
add_ListViewDestroying
Parameters:handlerFunction

The event handler function to attach

Adds a TemplateCreated event handler for the radlistview

JS
add_TemplateCreated
Parameters:handlerFunction

The event handler function to attach

Adds a TemplateDataBound event handler for the radlistview

JS
add_TemplateDataBound
Parameters:handlerFunction

The event handler function to attach

Removes a Command event handler from the radlistview

JS
remove_Command
Parameters:handlerFunction

The event handler function to remove

Removes a DataBinding event handler from the radlistview

JS
remove_DataBinding
Parameters:handlerFunction

The event handler function to remove

Removes a DataBindingFailed event handler from the radlistview

JS
remove_DataBindingFailed
Parameters:handlerFunction

The event handler function to remove

Removes a DataBound event handler from the radlistview

JS
remove_DataBound
Parameters:handlerFunction

The event handler function to remove

Removes a DataSourceResolved event handler from the radlistview

JS
remove_DataSourceResolved
Parameters:handlerFunction

The event handler function to remove

Removes a ItemDeselected event handler from the radlistview

JS
remove_ItemDeselected
Parameters:handlerFunction

The event handler function to remove

Removes a ItemDeselecting event handler from the radlistview

JS
remove_ItemDeselecting
Parameters:handlerFunction

The event handler function to remove

Removes a ItemDragging event handler from the radlistview

JS
remove_ItemDragging
Parameters:handlerFunction

The event handler function to remove

Removes a ItemDragStarted event handler from the radlistview

JS
remove_ItemDragStarted
Parameters:handlerFunction

The event handler function to remove

Removes a ItemDropped event handler from the radlistview

JS
remove_ItemDropped
Parameters:handlerFunction

The event handler function to remove

Removes a ItemDropping event handler from the radlistview

JS
remove_ItemDropping
Parameters:handlerFunction

The event handler function to remove

Removes a ItemSelected event handler from the radlistview

JS
remove_ItemSelected
Parameters:handlerFunction

The event handler function to remove

Removes a ItemSelecting event handler from the radlistview

JS
remove_ItemSelecting
Parameters:handlerFunction

The event handler function to remove

Removes a ListViewCreated event handler from the radlistview

JS
remove_ListViewCreated
Parameters:handlerFunction

The event handler function to remove

Removes a ListViewCreating event handler from the radlistview

JS
remove_ListViewCreating
Parameters:handlerFunction

The event handler function to remove

Removes a ListViewDestroying event handler from the radlistview

JS
remove_ListViewDestroying
Parameters:handlerFunction

The event handler function to remove

Removes a TemplateCreated event handler from the radlistview

JS
remove_TemplateCreated
Parameters:handlerFunction

The event handler function to remove

Removes a TemplateDataBound event handler from the radlistview

JS
remove_TemplateDataBound
Parameters:handlerFunction

The event handler function to remove

Methods

Appends additional data to the current data source and creates new items for the new data. Existing items are not modified.

JS
appendData(Array data): void
Parameters:dataArray

A javascript array of objects to append

Cancels insert operation and hides RadListView's insertion form

JS
cancelInsert(): void

Cancels RadListView item update (with index specified as an argument)

JS
cancelUpdate(Number itemIndex): void
Parameters:itemIndexNumber

Index of the edited item for which update operation will be aborted

Clears the cached data when caching is enabled with client-side databinding in RadListView

JS
clearCache(Boolean forCurrentState): void
Parameters:forCurrentStateBoolean

Optional

Clears the filter expressions for the specified field. If no field is specified, clears all filter expression in RadListView

JS
clearFilter(String field, Boolean doNotFireCommand): void
Parameters:fieldString

Optional

doNotFireCommandBoolean

Optional

Clears all selected items in RadListView

JS
clearSelectedItems(Boolean doNotRebind): void
Parameters:doNotRebindBoolean

Optional

Clears the sorting of the specified field or all the sort expressions if no field is specified.

JS
clearSort(String field, Boolean doNotFireCommand): void
Parameters:fieldString

Optional

doNotFireCommandBoolean

Optional

Databinds the listview when the client-side data source is set

JS
dataBind(): void

Deletes RadListView item with index specified as an argument

JS
deleteItem(Number itemIndex): void
Parameters:itemIndexNumber

Index of the item that will be deleted

Deselects an item in RadListViews

JS
deselectItem(Number index, Boolean doNotRebind): void
Parameters:indexNumber

An integer index of the item to deselect.

doNotRebindBoolean

Optional

Switches RadListView item into edit mode (with index specified as an argument)

JS
editItem(Number itemIndex): void
Parameters:itemIndexNumber

Index of the item that will be edited

Applies a filter to the data in RadListView

JS
filter(String field, String filterFunction, String value, Boolean doNotFireCommand): void
Parameters:fieldString

The field name to filter.

filterFunctionString

The filter function to use. Accepted values are specified by the Telerik.Web.UI.RadListViewFilterFunction object.

valueString

The filter value to use for the specified field.

doNotFireCommandBoolean

Optional

Fires command with command name and command argument specified as arguments

JS
fireCommand(String commandName, String commandArgument): void
Parameters:commandNameString

The name of the command that will be executed. Possible values are listed here

commandArgumentString

The command argument with which the command will be executed. Possible values are listed here

Gets a value indicating whether multi-item selection is enabled in RadListView

JS
get_allowMultiItemSelection(): Boolean
Returns:

Boolean

Gets a value indicating whether natural sort is enabled in RadListView

JS
get_allowNaturalSort(): Boolean
Returns:

Boolean

Specifies whether paging is enabled in RadListView

JS
get_allowPaging(): Boolean
Returns:

Boolean

Gets a two-dimensional array of client key values. Item indices and names stored in the ClientDataKeyNames collection on the server can be used as array indices. Example: get_clientDataKeyValue()[0]["CustomerID"] - returns the CustomerID clinet key value for the first RadListView item.

JS
get_clientDataKeyValue(): Array
Returns:

Array

Gets the current client settings applied for RadListView

JS
get_clientSettings(): Object
Returns:

Object

Gets the current page index in case paging for RadListView is enabled

JS
get_currentPageIndex(): Number
Returns:

Number

Gets the data source javascript array of RadListView

JS
get_dataSource(): Array
Returns:

Array

Retrieves the filter expressions collection in RadListView

JS
get_filterExpressions(): Telerik.Web.UI.RadListViewFilterExpressions
Returns:

Telerik.Web.UI.RadListViewFilterExpressions

Indicates whether RadListView is currently databinding on the client-side

JS
get_isDataBinding(): Boolean
Returns:

Boolean

Indicates whether RadListView is setup for client-side databinding

JS
get_isDataBoundOnClient(): Boolean
Returns:

Boolean

Indicates whether RadListView is initialized entirely on the client-side with no server-side control

JS
get_isInitializedOnClient(): Boolean
Returns:

Boolean

Gets a value indicating whether the insert form is currently shown

JS
get_isItemInserted(): Boolean
Returns:

Boolean

Gets the page count in RadListView

JS
get_pageCount(): Number
Returns:

Number

Gets the page size in RadListView

JS
get_pageSize(): Number
Returns:

Number

Gets the selected indexes array in RadListView. The array should contain the numeric indexes of selected items.

JS
get_selectedIndexes(): Array
Returns:

Array

Gets the skin set to the RadListView's control

JS
get_skin(): String
Returns:

String

Gets the skin applied in RadListView

Retrieves the sort expressions collection in RadListView

JS
get_sortExpressions(): Telerik.Web.UI.RadListViewSortExpressions
Returns:

Telerik.Web.UI.RadListViewSortExpressions

Gets the unique id of RadListView's container

JS
get_uniqueID(): String
Returns:

String

Gets the total number of items RadListView can bind to. This value is used for page calculations.

JS
get_virtualItemCount(): Number
Returns:

Number

Inserts a new item in RadListView with values taken from its insertion form

JS
insertItem(): void

Navigates RadListView to the page specified as an argument. If server-side databinding is used, RadDataPager should be used for page navigation

JS
page(String command, Boolean doNotFireCommand): void
Parameters:commandString

The actual page to which the user will be navigated. Possible values are

doNotFireCommandBoolean

Optional

Rebinds RadListView to its given data source

JS
rebind(): void

Rebinds a single item specified by its index

JS
rebindItem(Number index): void
Parameters:indexNumber

The index of the item to rebind

Selects all items in RadListView

JS
selectAllItems(Boolean doNotRebind): void
Parameters:doNotRebindBoolean

Optional

Selects an item in RadListView

JS
selectItem(Number index, Boolean doNotRebind): void
Parameters:indexNumber

An integer index of the item to select.

doNotRebindBoolean

Optional

Sets a value indicating whether paging is allowed in RadListView

JS
set_allowPaging(Boolean value): void
Parameters:valueBoolean

A boolean value indicating whether paging is enabled

Sets the current page index in RadListView

JS
set_currentPageIndex(Number value): void
Parameters:valueNumber

An integer value greater than or equal to 0

Sets the data source of RadListView

JS
set_dataSource(Array value): void
Parameters:valueArray

A javascript array of objects

Sets the page size in RadListView

JS
set_pageSize(Number value): void
Parameters:valueNumber

An integer value greater than 0

Sets the array containing the selected indexes

JS
set_selectedIndexes(Array value): void
Parameters:valueArray

A javascript array of integer values representing the selected indexes in RadListView

Sets the virtual item count in RadListView

JS
set_virtualItemCount(Number value): void
Parameters:valueNumber

An integer value greater than or equal to 0

Displays RadListView's insertion form

JS
showInsertItem(Number insertItemPosition): void
Parameters:insertItemPositionNumber

Optional

Sorts the data in RadListView

JS
sort(String field, String order, Boolean doNotFireCommand): void
Parameters:fieldString

The field name to sort by. If no sort order is specified

orderString

Optional

doNotFireCommandBoolean

Optional

Toggles between the selected and deselected state of an item in RadListViews

JS
toggleSelection(Number index, Boolean doNotRebind): void
Parameters:indexNumber

An integer index of the item to toggle.

doNotRebindBoolean

Optional

Updates RadListView item (with index specified as an argument)

JS
updateItem(Number itemIndex): void
Parameters:itemIndexNumber

Index of the edited item that will be updated

Not finding the help you need?
Contact Support