PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Behavior of IE11
Behavior of IE11
Iniciado por guest, 04,ene. 2015 18:13 - 3 respuestas
Publicado el 04,enero 2015 - 18:13
Hi Forum,

do you know, wheather there is a known problem with WB18 pages and IE11?

I have a piece of code which works ok using firefox, but crashes on IE11.
It is a dynamic non AWP page, the code is in a pagetemplate.

Here the code:

//Prüfen, ob es eine ungespeicheren Neuanlage gibt:
IF gbIsNew = True AND gbDirty = True THEN
nFrage is int = YesNo("Ihre Erfassung ist nicht gespeichert. Wollen Sie wirklich abrechen?")
IF nFrage = 1 THEN
PageCloseDialog()
END
END

//Prüfen, ob eine Pending Änderung vorliegt
IF gbDirty = True AND gbIsNew = False THEN
Info("Bitte speichern Sie Ihre Änderungen ab")
ELSE
PageCloseDialog()
END

Thanks for help.

Stefan.
Publicado el 04,enero 2015 - 18:16
Quote
stefan kern

Hi Forum,





do you know, wheather there is a known problem with WB18 pages and IE11?





I have a piece of code which works ok using firefox, but crashes on IE11.


It is a dynamic non AWP page, the code is in a pagetemplate.





Here the code:





//Prüfen, ob es eine ungespeicheren Neuanlage gibt:


IF gbIsNew = True AND gbDirty = True THEN


nFrage is int = YesNo("Ihre Erfassung ist nicht gespeichert. Wollen Sie wirklich abrechen?")


IF nFrage = 1 THEN


PageCloseDialog()


END


END





//Prüfen, ob eine Pending Änderung vorliegt


IF gbDirty = True AND gbIsNew = False THEN


Info("Bitte speichern Sie Ihre Änderungen ab")


ELSE


PageCloseDialog()


END





Thanks for help.





Stefan.

I forgot:
IE11 is just closing, showing an error message "Internet Explore does not work any more. You will be informed is a solution is available.
Publicado el 04,enero 2015 - 18:25
Hi Stefan

'a' problem? Ha! There are MANY problems with IE (and not only 11)

You can try to go around it by asking IE11 to behave like IE9 an see if that help...

By the way, your code is in a page template, but WHERE in a page template (as your code seems to be closing the page, it would be good if the page had fully loaded before that)

Best regards
Publicado el 05,enero 2015 - 15:53
Hi Fabrice,

thanks for your answer.
this piece of code is in a "Close Button", so I am sure that the page is fully loaded.
Funny thing is, on another PC with IE 11 it works fine.

So maybe something is wrong with my local IE 11 installation.

Thanks for yoiur help

Stefan.