Andre Pena
Andre Pena

Reputation: 59446

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?

Upvotes: 0

Views: 513

Answers (1)

m3kh
m3kh

Reputation: 7941

Try ScriptManager.RegisterDataItem.

Upvotes: 1

Related Questions