+1  A: 

I don't think this can be done at all if the event is asynchronous.

Why not make it synchronous? That's probably your best chance to get it through.

Pekka
a flag and a while loop would do it, but am not going the path! ;p. do I need to change anything in my MVC controllers if I want to make a synchronous call?
OneDeveloper
well, to be honest, I never knew that I could use $.ajax to make a fully synchronous call. Thanks for the hint!
OneDeveloper
@One `async: false` will do the trick.
Pekka
works with me! thanks again for the hint!
OneDeveloper