New to Telerik UI for ASP.NET Core? Download free 30-day trial

Events

The Telerik UI TextBox for ASP.NET Core exposes multiple events that allow you to control and customize the behavior of the UI component.

For a complete example on basic TextBox events, refer to the demo on using the events of the TextBox.

Handling by Handler Name

The following example demonstrates how to subscribe to events by a handler name.

  @(Html.Kendo().TextBox()
        .Name("textbox")
        .Events(e => e
            .Change("textbox_change")
        )
  )
<kendo-textbox name="textbox"
               on-change="textbox_change">
</kendo-textbox>
  <script>
  function textbox_change() {
      // Handle the change event.
  }
  </script>

Next Steps

See Also

In this article