开发者

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

开发者 https://www.devze.com 2022-12-26 21:33 出处:网络
ASP.NET Ajax Library provides some client-side events. For instance: Sys.Application.add_load( function(args) {

ASP.NET Ajax Library provides some client-side events. 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?


Try ScriptManager.RegisterDataItem.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号