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

ResponsivePanelEventBuilder

Methods

Close(System.String)

Triggered before the responsive panel is closed. Cancellable.

For more information see Close event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the close event.

Example


             @( Html.Kendo().ResponsivePanel()
                        .Name("sidebar")
                        .Events(e => e.Close("onClose"))
                        .Content("<strong> First Item Content</strong>")
            )

Open(System.String)

Triggered before the responsive panel is opened. Cancellable.

For more information see Open event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the open event.

Example


             @( Html.Kendo().ResponsivePanel()
                        .Name("sidebar")
                        .Events(e => e.Open("onOpen"))
                        .Content("<strong> First Item Content</strong>")
            )

In this article
Not finding the help you need?