Javascript – How to return data after AJAX postback back to the client in ASP.NET

ajaxasp.netjavascriptpostback

I have a simple question – I use update panel with custom server control inside. I call __doPostBack from javascript and RaisePostBackEvent on the server fires (I implement IPostBackEventHandler).
This is client to server call. Could I return data back to the client (after this partial postback)? What is the best way to achieve this?

Thank you!

Best Answer

Heko, Have you followed the postback in debug mode yet? If you're using IE with client debugging enabled, you may be able to follow the partial postback in both client and server.