I used the following piece of code in the web.config in order to maintain the scrollbar position after a server postback:
Try this,
In the Page_Load if (Page.IsPostBack) { ScriptManager.RegisterClientScriptBlock(Page, this.GetType(), "CallJS", "afterpostback();", true); } 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
In the Page_Load
if (Page.IsPostBack) { ScriptManager.RegisterClientScriptBlock(Page, this.GetType(), "CallJS", "afterpostback();", true); }