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 handler code wrapped in a text tag.
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 handler code wrapped in a text tag.
Example
@( Html.Kendo().ScrollView()
.Name("ScrollView")
.Events(events => events.Refresh(
@<text>
function(e) {
//event handling code
}
</text>
))
)