Skip to main content
Tab

ASPxComboBox.ClientSideEvents Property

Gets an object that lists the client-side events specific to the ASPxComboBox.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public ComboBoxClientSideEvents ClientSideEvents { get; }

Property Value

Type Description
ComboBoxClientSideEvents

An object that allows you to handle the ASPxComboBox control’s client-side events.

Remarks

This property is a wrapper of the ComboBoxProperties.ClientSideEvents property.

Example

View Example: Popup Control for ASP.NET Web Forms - How to show a pop-up window.

function OnComboBoxSelectedIndexChanged(s, e) {
    var item = s.GetSelectedItem();
    popup.SetContentHTML(
        "Selected item changed:<br /><br />" +
        "&nbsp;&nbsp;<strong>text=</strong>'" + item.text + "'<br />" +
        "&nbsp;&nbsp;<strong>value</strong>=" + item.value + "<br /><br />");
    popup.ShowAtElementByID("comboPopupAnchor");
}
<dxe:ASPxComboBox ID="cbCombo" runat="server" Width="170px" ClientInstanceName="combo">
    <ClientSideEvents SelectedIndexChanged="OnComboBoxSelectedIndexChanged" />
    <Items>
        <dxe:ListEditItem Text="Item #1" Value="0" />
        <dxe:ListEditItem Text="Item #2" Value="1" />
        <dxe:ListEditItem Text="Item #3" Value="2" />
    </Items>
</dxe:ASPxComboBox>
See Also