How can prevent my views remember their previous scroll position? If I scroll down in one view, then go to another and back again, the first view starts from the scrolled position. This is a natural way in browsers, but I would like to force my view always start in the top position. I can't figure out how to make this happen.
I tried to add a data-before-show="gotoTop" in my views and then adding in kendo initialization this block function
I tried to add a data-before-show="gotoTop" in my views and then adding in kendo initialization this block function
<script>
var app = new kendo.mobile.Application();
function gotoTop() {
$('body').scrollTop();
}
</script>
but it does not seem to work. I am quite new to Kendo, so I appreciate any suggestions or help, thanks!