ASPxComboBox.ClientSideEvents Property
In This Article
Gets an object that lists the client-side events specific to the ASPxComboBox.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public ComboBoxClientSideEvents ClientSideEvents { get; }
#Property Value
Type | Description |
---|---|
Combo |
An object that allows you to handle the ASPx |
#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