roh*_*agg 19 asp.net updatepanel asp.net-ajax scriptmanager
如何判断方法是否在AJAX回发的上下文中运行(即作为UpdatePanel(异步)回发的结果)?
根据egoldin Page.IsAsync是一个非常常见的混淆,与AJAX完全无关.
正确的方法是使用ScriptManager.GetCurrent(页面).IsInAsyncPostBack.
bar*_*tta 24
使用ScriptManager.GetCurrent(页面).IsInAsyncPostBack
归档时间:
17 年,10 月 前
查看次数:
3281 次
最近记录:
14 年,2 月 前