//后臺需要把頁面注冊為Ajax
AjaxPro.Utility.RegisterTypeForAjax(typeof(所要注冊的頁面Inherits的最后一個單詞,如:頁面為:CustomerList.aspx,則這里就是CustomerList));
//注冊異步控件,lnkbtnRefreshLinkman十個Linkbutton,用于調用后臺的數據更新方法;
this.smScriptManager.RegisterAsyncPostBackControl(lnkbtnRefreshLinkman);
//注冊分頁控件 this.smScriptManager.RegisterAsyncPostBackControl(this.Pager);