Skip to main content

ASPxClientListBox.ItemDoubleClick Event

Occurs on the client when the editor’s item is double clicked.

Declaration

ItemDoubleClick: ASPxClientEvent<ASPxClientEventHandler<ASPxClientListBox>>

Event Data

The ItemDoubleClick event's data class is ASPxClientEventArgs.

Remarks

The ItemDoubleClick event allows you to react to a double click on an item. Note that the ItemDoubleClick event was created for internal use only, so it is not displayed in IntelliSense or the client-side event editor. If you wish to handle this event, subscribe to it in code behind.

protected void Page_Load(object sender, EventArgs e) {
     ASPxListBox1.ClientSideEvents.ItemDoubleClick = "function(s,e) {alert('OK');}";
}

Or manually write the event handler in markup:

<dx:ASPxListBox ID="ASPxListBox1" runat="server">
     ...
     <ClientSideEvents ItemDoubleClick="function(s, e) {alert('OK');}" />
</dx:ASPxListBox>

Note

The ItemDoubleClick does not work if the ASPxListBox.Native property is enabled.

See Also