or
// Get scrolltop from HTML or Body (if it is not a frameset page)var scrollTop = window.document.documentElement.scrollTop || (window.document.body) ? window.document.body.scrollTop : 0;if(scrollTop > 0) result.top = result.top - scrollTop;<div data-role="layout" data-id="mobile-tabstrip"> <div data-role="footer"> <div data-role="tabstrip" id="tabStrip"> <a href="#user" data-icon="contacts">User</a> <a href="#cycle" data-icon="play">Cycle</a> <a href="#stats" data-icon="toprated">Stats</a> <a href="#settings" data-icon="settings">Settings</a> </div> </div></div>var tabstripBound = false; var app = new kendo.mobile.Application($(document.body), { platform : "android", viewShow: function() { if (!tabStripBound) { var tabStrip = $("#tabStrip").data("kendoMobileTabstrip"); tabStrip.bind("select", onSelect); tabStripBound = true; } } }); function onSelect(item){ console.log("In on select"); }@(Html.Kendo().Grid<UserViewModel>() .Name("grdAllUsers") .Columns(columns => { columns.Bound(o => o.Id) .Visible(false); columns.Bound(o => o.UserName) .Width(150); columns.Bound(o => o.EmailAddress) .Width(275); columns.Bound(o => o.IsActive) .Width(75) .Filterable(false) .HtmlAttributes(new { style = "text-align: center;" }) .ClientTemplate("<input readonly='readonly' type='checkbox' disabled='disabled' name='chkIsActive#=Id#' id='chkIsActive#=Id#' #= IsActive? \"checked='checked'\" : \"\" # />"); columns.Command(command => { command.Edit(); command.Destroy(); }); }) .DataSource(dataSource => { dataSource.Ajax() .Model(model => model.Id(o => o.Id)) // DataKey .PageSize(15) .Read(read => read.Action("Read", "Users")); //.Destroy(destroy => destroy.Action("", "")); }) .Pageable(paging => { paging.Numeric(true) .Info(true) .PreviousNext(true) .Refresh(true); }) .Sortable() .Filterable() )command.Custom("blah").Click("");