RadControls for ASP.NET AJAX This event is fired when the treelist is scrolled.
Fired by | RadTreeList |
Arguments | get_isOnBottom() - bool indicating whether the scroll has reached the bottom of the treelist
get_isOnTop() - bool indicating whether the scroll has reached the top of the treelist
get_scrollControl() - the <div> element that is being scrolled
get_scrollTop() - the scrollTop value
get_scrollLeft() - the scrollLeft value
get_cancel() - bool
set_cancel(bool) |
Can be canceled | No |
Example:
CopyJavaScript
function Scroll(sender, eventArgs) {
if (eventArgs.get_isOnBottom()) {
alert('Reached bottom.');
}
else if (eventArgs.get_isOnTop()) {
alert('Reached top.');
}
}