views:

115

answers:

1

I have a button in the update panel. Another function say function1 is executed in the click event of this button. I want to call a javascript function once the function1 completes execution. How will I know when the function1 has completed its execution?

A: 

Assuming function1 runs onthe server, and function2 on the client, handle the endRequest event of the Sys.WebForms.PageRequestManager MSAjax class.

Slavcho