Dear all,
I'm executing a method using the ajaxRequest from a page that has my page in a iFrame using:
| window.frames['myframeID'].ForceSave("0"); |
the javascript in the page loaded in the iFrame is:
| function ForceSave(saleID) { |
| var ajaxManager = $find("<%= ajaxManager.ClientID %>"); |
| ajaxManager.ajaxRequest('ForceSave', 'ForceSave'); |
| } |
This will fire the RaisePostBackEvent(System.Web.UI.IPostBackEventHandler source, string eventArgument)
and here I perform what I need.
What I want now is to perform this synchronously... and wait until my method ends and return back a boolean value.
So, I want, in the page, to wait for the completion of the ForceSave call to continue the rest of the script.
Is this possible? How?
