PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → Interrupt button click (Do not call server action
Interrupt button click (Do not call server action
Débuté par Richard Liebmann, 06 sep. 2017 14:46 - 1 réponse
Posté le 06 septembre 2017 - 14:46
Hi guys,

it is posible, to interrupt the button click in the client action? I'd like to open a Popup in the client code and get a warning. It is not working, because the server method triggers a page refresh and the popup won't show up.

WebDev 22 AWP Pages

Thanks for your help!
Posté le 06 septembre 2017 - 16:54
Hi Richard,

it is possible...

In your browser code, open your popup then immediately afterwards use
the RETURN or RETURNTOCAPTURE instructions.

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 9/6/2017 à 6:46 AM, Richard Liebmann a écrit :
Hi guys,

it is posible, to interrupt the button click in the client action? I'd
like to open a Popup in the client code and get a warning. It is not
working, because the server method triggers a page refresh and the popup
won't show up.

WebDev 22 AWP Pages

Thanks for your help!