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

ScrollViewEventBuilder

Methods

Change(System.String)

Fires when the ScrollView page is changed.

For more information see Change event.

Parameters

handler - System.String

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

Example


             @( Html.Kendo().ScrollView()
                        .Name("ScrollView")
                        .Events(events => events
                            .Change("onChange")
                        )
            )

Change(System.Func)

Fires when the ScrollView page is changed.

For more information see Change event.

Parameters

handler - System.Func<Object,Object>

The code of the JavaScript function that will handle the change event.

Example


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

Refresh(System.String)

Fires when the ScrollView refreshes.

For more information see Refresh event.

Parameters

handler - System.String

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

Example


             @( Html.Kendo().ScrollView()
                        .Name("ScrollView")
                        .Events(events => events
                            .Refresh("onRefresh")
                        )
            )

Refresh(System.Func)

Fires when the ScrollView refreshes.

For more information see Refresh event.

Parameters

handler - System.Func<Object,Object>

The code of the JavaScript function that will handle the refresh event.

Example


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

In this article
Not finding the help you need?