New to Telerik UI for ASP.NET Core? Download free 30-day trial

ListBoxEventBuilder

Methods

Add(System.String)

Fires before an item is added to the ListBox.The function context of the event handler (available through the this keyword) that will be set to the widget instance.

For more information see Add event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the add event.

Add(System.Func)

Fires before an item is added to the ListBox.The function context of the event handler (available through the this keyword) that will be set to the widget instance.

For more information see Add event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Change(System.String)

Fires when the ListBox selection has changed.The function context of the event handler (available through the this keyword) that will be set to the widget instance.

For more information see Change event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the change event.

Change(System.Func)

Fires when the ListBox selection has changed.The function context of the event handler (available through the this keyword) that will be set to the widget instance.

For more information see Change event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

DataBound(System.String)

Fires when the ListBox has received data from the data source and is already rendered.The function context of the event handler (available through the this keyword) that will be set to the widget instance.

For more information see DataBound event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the dataBound event.

DataBound(System.Func)

Fires when the ListBox has received data from the data source and is already rendered.The function context of the event handler (available through the this keyword) that will be set to the widget instance.

For more information see DataBound event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

DragStart(System.String)

Fires when the dragging of the ListBox items starts.

For more information see DragStart event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the dragstart event.

DragStart(System.Func)

Fires when the dragging of the ListBox items starts.

For more information see DragStart event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Drag(System.String)

Fires when the placeholder of the ListBox changes its position.

For more information see Drag event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the drag event.

Drag(System.Func)

Fires when the placeholder of the ListBox changes its position.

For more information see Drag event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Drop(System.String)

Fires when a ListBox item is dropped over one of the drop targets.

For more information see Drop event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the drop event.

Drop(System.Func)

Fires when a ListBox item is dropped over one of the drop targets.

For more information see Drop event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

DragEnd(System.String)

Fires when the dragging of the item ends but before its position is changed in the DOM.

For more information see DragEnd event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the dragend event.

DragEnd(System.Func)

Fires when the dragging of the item ends but before its position is changed in the DOM.

For more information see DragEnd event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Remove(System.String)

Fires before an item is removed from the ListBox.The function context of the event handler (available through the this keyword) that will be set to the widget instance.

For more information see Remove event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the remove event.

Remove(System.Func)

Fires before an item is removed from the ListBox.The function context of the event handler (available through the this keyword) that will be set to the widget instance.

For more information see Remove event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Reorder(System.String)

Fires when ListBox items are reordered.

For more information see Reorder event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the reorder event.

Reorder(System.Func)

Fires when ListBox items are reordered.

For more information see Reorder event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

In this article
Not finding the help you need?