# Events

The Telerik UI PopOver component for ASP.NET MVC exposes the [`Hide`](https://www.telerik.com/aspnet-mvc/documentation/api/kendo.mvc.ui.fluent/popovereventbuilder#hidesystemfunc) and [`Show`](https://www.telerik.com/aspnet-mvc/documentation/api/kendo.mvc.ui.fluent/popovereventbuilder#showsystemstring) events. You can handle these events to implement custom functionality.

For a complete example on basic PopOver events, refer to the [demo on using the events of the PopOver](https://demos.telerik.com/aspnet-mvc/popover/events).

The following example demonstrates how to subscribe to the PopOver events.

```Razor HtmlHelper
    @(Html.Kendo().PopOver()
        .For("targetElementSelector")
        .Events(e => e
            .Show("onShow")
            .Hide("onHide")
        )
    )
    <script>
        function onShow(e) {
            // Handle the Show event that triggers when the PopOver shows.
        }

        function onHide(e) {
            // Handle the Hide event that triggers when the PopOver hides.
        }
    </script>
```

## Next Steps

* [Using the PopOver Events (Demo)](https://demos.telerik.com/aspnet-mvc/popover/events)

## See Also

* [Using the API of the PopOver for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/popover/api)

* [PopOver Server-Side HtmlHelper API](https://www.telerik.com/aspnet-mvc/documentation/api/popover)

* [PopOver Client-Side API](https://docs.telerik.com/kendo-ui/api/ui/popover)
