简体   繁体   English

我可以使用ASP.NET Ajax库在异步回发期间从服务器到客户端检索数据吗?

[英]Can I retrieve data from server to client during an asynchronous post-back using ASP.NET Ajax Library?

ASP.NET Ajax Library provides some client-side events. ASP.NET Ajax库提供了一些客户端事件。 For instance: 例如:

Sys.Application.add_load(
    function(args) {
        // handle the end of any asynchronous post-back. Every-time there's
        // a server round-trip, this method will be called.
    }
);

During the asynchronous post-back I want to retrieve information to the client. 在异步回发期间,我想将信息检索到客户端。 This information must be available in some event like the discribed above. 在某些情况下,如上面所述,此信息必须可用。

Does the UpdatePanel or the ScriptManager have any server-side way to retrieve data back to client during an asynchronous post-back? UpdatePanel或ScriptManager是否具有任何服务器端方式在异步回发期间将数据检索回客户端?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM