有人可以告诉我是否可以在 ASP.NET Updatepanel 上使用 JavaScript 进行异步回发检索吗?
感谢您的帮助!
最佳答案
您是否尝试过在更新面板中注册启动脚本?像这样的事情:
ScriptManager.RegisterStartupScript(this.UpdatePanelID, typeof(string), "UpdatePanelScript", "alert('From the UpdatePanel');", true);
以下是文档链接:http://msdn.microsoft.com/en-us/library/bb359558.aspx
关于javascript - 检索 Updatepanel 是否已进行回发,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3889982/