# Events

The TextArea for ASP.NET Core exposes the [`Change()` event](https://docs.telerik.com/api/kendo.mvc.ui.fluent/textareaeventbuilder) that you can use for capturing the TextArea's value during user interaction.

For a complete example on TextArea events, refer to the [demo on using the events of the TextArea](https://demos.telerik.com/aspnet-core/textarea/events).

## Handling by Handler Name

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

```Razor HtmlHelper
    @(Html.Kendo().TextArea()
        .Name("description")
        .Events(e => e.Change("onChange"))
    )

    <script>
        function onChange(e){
            // Handle the TextArea change event.
        };
    </script>
```

```Razor TagHelper
    <kendo-textarea name="description" on-change="onChange">
    </kendo-textarea>

    <script>
        function onChange(e){
            // Handle the TextArea change event.
        };
    </script>
```

## Handling by Template Delegate

The following example demonstrates how to subscribe to events by a template delegate.

```Razor HtmlHelper
    @(Html.Kendo().TextArea()
        .Name("description")
        .Events(e => e.Change(@<text>
                function() {
                    // Handle the TextArea change event inline.
                }
            </text>)
        )
    )
```

```Razor TagHelper
    <kendo-textarea name="description" on-change="function() {
                        // Handle the TextArea change event inline.
                  }">
    </kendo-textarea>
```

## Next Steps

* [Using the TextArea Events (Demo)](https://demos.telerik.com/aspnet-core/textarea/events)

## See Also

* [Using the API of the TextArea for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/textarea/api)
* [TextArea Server-Side API for ASP.NET Core](https://www.telerik.com/aspnet-core-ui/documentation/api/textarea)
* [TextArea Client-Side API](https://docs.telerik.com/kendo-ui/api/ui/textarea)
