Page 1 of 1

JQDialogOptions.OnClose not found

PostPosted: 15 Nov 2016 15:01
by etwoss
Hi

When i have a modal dialog, i have the OnClose connected

Hoewever, when an user clicks the button multiple times which calls this method i get exceptions like

Ajax event "JQDialogOptions.OnClose" not found!

What can i do to make the method called just once.

The click will call a methiod which can take a few seconds, the customer thinks i has not clicked so clicks again

Eric

Re: JQDialogOptions.OnClose not found

PostPosted: 17 Nov 2016 15:27
by Alexander Bulei
Hi Eric,

Hoewever, when an user clicks the button multiple times which calls this method i get exceptions like


Which button?

Re: JQDialogOptions.OnClose not found

PostPosted: 21 Nov 2016 10:40
by etwoss
Hi

The button which set the frame visible to false

Eric

Re: JQDialogOptions.OnClose not found

PostPosted: 21 Nov 2016 16:55
by Alexander Bulei
Hi etwoss,

At your case, you can assign the visible/invisible lock indicator, just to lock the app from user actions.

Best Regards.

Re: JQDialogOptions.OnClose not found

PostPosted: 23 Nov 2016 14:52
by etwoss
Hi

you mean in the OnClick of the button?

Eric