ASP.NET ComboBox - Client-Side API - Events

Event logger:




The ComboBox control provides client-side events that allow you to detect
when the end user performs a specific action with the control.
The following client-side events are raised by the control:

  • SelectedIndexChanged - is raised when the selection is changed;
  • OnItemClick - is raised when an item is clicked (selection doesn't need to change);
  • OnOpen - is raised when the drop down menu is opened;
  • OnClose - is raised when the drop down menu is closed;
  • OnFocus - is raised when the control receives the focus;
  • OnBlur - is raised when the control loses the focus;


To set up event handlers for these events you need to use the ClientSideEvents property of the ComboBox.



« Back to examples