TO SCROLL UP THE PAGE AFTER ASYNC POSTBACK
<script type="text/javascript">
function pageLoad() {
var manager = Sys.WebForms.PageRequestManager.getInstance();
manager.add_endRequest(endRequest);
}
function endRequest(sender, args) {
window.scrollTo(0, 0);
}
</script>
0 comments:
Post a Comment