Events
The Telerik UI PopOver component for ASP.NET MVC exposes the Hide
and Show
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.
The following example demonstrates how to subscribe to the PopOver events.
@(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>