protected override void OnActivated() { base.OnActivated(); //Add client script to ActionBase Item //SOLUTION: https://www.devexpress.com/Support/Center/Question/Details/S32806 SaveAction.SetClientScript(@"var scroll = window.setInterval(function(){ window.scrollBy(0,-30); if(window.pageYOffset <= 0) clearInterval(scroll); }, 1000 / 60);" , true); }