开发者

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. 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜