ASPxComboBox.ClientSideEvents Property
Gets an object that lists the client-side events specific to the ASPxComboBox.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
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
function OnComboBoxSelectedIndexChanged(s, e) {
var item = s.GetSelectedItem();
popup.SetContentHTML(
"Selected item changed:<br /><br />" +
" <strong>text=</strong>'" + item.text + "'<br />" +
" <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