R2 2018 Release is here – now with modern UI for chatbots and more! See what’s new!
Change Theme

SASS Themes

    LESS Themes

      SASS Theme Builder

      Create new or customize SASS themes
      Launch Theme Builder

      ListBox / Events

      Console log

      Description

      The ListBox for ASP.NET Core exposes rich API and events which provide easy configuration or extension points for custom functionality on top of the built-in features.

      This particular example shows how to intercept the Change, DataBound, Reorder, DragStart, DragEnd, Drag, Drop, Add and Remove events of the ListBox to output messages in the console when these events are raised. They can also be hooked for customizations or to execute custom logic, if necessary.

      ASP.NET Core source

      Also available for:

      • events.cshtml
      • EventsController.cs
      • CustomerViewModel.cs

      Support & learning resources

      ListBox for other technologies