Jun 06, 2017, 7:57 AM
Direct Event click execute partially only
Hi,
I'm doing this:
The problem is that what is actually happens is that upon the first click the first text filed updated on the second click the seconf field updated and only on the third click the complete method executed.
Why that happened? why not all the operations happened in the same time?
(the java script that return from the server seems ok i.e. it contain setValue for both fields that i want to update but only one actaully updated on the first click)
Thanks
I'm doing this:
<ext:Button runat="server" Text="Save">
<DirectEvents>
<Click OnEvent="UpdateOpenFund" Complete="App.UpdateOpenFundWindow.hide(); App.UpdatedOpenFund.reset();" />
</DirectEvents>
</ext:Button>
The UpdateOpenFund event update two text fields (and then the complete method should run).The problem is that what is actually happens is that upon the first click the first text filed updated on the second click the seconf field updated and only on the third click the complete method executed.
Why that happened? why not all the operations happened in the same time?
(the java script that return from the server seems ok i.e. it contain setValue for both fields that i want to update but only one actaully updated on the first click)
Thanks
Last edited by fabricio.murta; Jun 06, 2017 at 5:01 PM.
Reason: Wrap code in [code][/code] tags.