New to Telerik UI for ASP.NET Core? 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>")
            )

Close(System.Func)

Triggered before the responsive panel is closed. Cancellable.

For more information see Close event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


             @( Html.Kendo().ResponsivePanel()
                        .Name("sidebar")
                        .Events(events => events.Close(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )

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>")
            )

Open(System.Func)

Triggered before the responsive panel is opened. Cancellable.

For more information see Open event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


             @( Html.Kendo().ResponsivePanel()
                        .Name("sidebar")
                        .Events(events => events.Open(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )

In this article
Not finding the help you need?