PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WB20: Popus does not open in IE 11
WB20: Popus does not open in IE 11
Iniciado por guest, 15,jun. 2015 14:53 - 8 respuestas
Publicado el 15,junio 2015 - 14:53
Hi everyone,
I have a very strange problem.
I have a few pages where I have some popus which I open in a button using this Browser code:
PopupDisplay(POPUP_Datos_Documento,popupCenter)

So this is working fine in Chrome and Firefox, however using IE 11.0.9600.17843, some of the popus does not open at all :-(. When clicking in the button does not response, like the code does not exist at all.
Has someone experienced the same problem? Could be some IE setting maybe? I have tried to find something but no luck.
Any response, help or comment is welcome.

Thanks in advance.

Victoria
Publicado el 15,junio 2015 - 19:44
Hi Victoria

the behavior yo are describing (popup not opening, buttons not working) looks like what happen after a JS code error occurred (nothing in js works after that)...

So what I would do is open the developer console in IE and check if that is what's really happening... If it is, you should be able to find out which code is causing it and:
1. report it to pcsoft
2. work around it some way or another

Best regards
Publicado el 15,junio 2015 - 22:32
Hi Victoria,

It's possible that changing the button generation type in the general tab of a button will solve the problem.
See this post

Regards,
Piet
Publicado el 16,junio 2015 - 15:02
Thanks Fabrice,
actually I was able to fix the problem by doing this:
adding a tag in my Page template, like this http://screencast.com/t/UYWagqRtHp
This was a sugestion from PCsoft Technical support.
Normally I used to use hidden Cells in my page and then show them by using CellDisplayDialog(CELL_CustomerForm,cellCenter,True,40) in the Browser code, and this is working fine in IE normally. However in this new project I wanted to use the Popups inside the pages but have some issues in IE 11. Seems this solution works fine.?

Anyway I will try to check your suggestion opening the developer console in IE and check what's really happening there. For the moment is working fine.
Thanks a lot for your answer.

Cheers,

Victoria
Publicado el 16,junio 2015 - 15:31
Hi Piet,
thanks for your answer too.

Very interesting what you said. I also noticed that in WB 20 there are 4 different types of generation for buttons (http://screencast.com/t/XQSgEUrQTgv) and I tought that maybe it had something to do with this but... since I could not find any information in help or documentation I am not sure what it means exactly each one of these options. So I left my buttons with the 1st option (Automatic) by default.
As I said in my previous post I did find a solution by using this meta tag in Advanced options of my pages. However I am not sure this one is the best solution. I will try to make further tests in a clean test project to check the functionality for the different types of button generation.
Thanks again.

Cheers,

Victoria
Publicado el 17,junio 2015 - 10:08
Hi Victoria,

Well,
First, you have to see if your button is not describe as a "submit" (don't think so, but it's the first step).
Second, you have to verify that no JS error script is in navigator code (you will see it in navigator console mode, F12 button for IE) and more of this that all fields in your popup not overload an other field in the page.

Anyway, I used to open a "popup" with CellDisplayDialog because popup mechanism in webdev make an encapsulated iframe and it's not very clean fro web.

Please let me now and sorry for my frenchy ;-)

Regards,

GIG
Publicado el 17,junio 2015 - 13:12
Hi GIG,
thanks for your answer too.
My buttons are not submit of course. http://screencast.com/t/LI8huYQv58L
And all the fields in my popup not overload any other field in the page.
The only thing I need check is this JS script in IE...

I did not know that popup mechanism in webdev make an encapsulated iframe. Do you think it is also the same in WB 20?

I forgot to mention I have my buttons inside of a Looper. I am not sure if this will make any difference....

Regards,

Victoria
Publicado el 17,junio 2015 - 15:03
Victoria

WB20 is a preview version and I suggest you might try out in WB19 to
see IE11 works out.

Also, try out other workstation to run IE11 instead of your dev. w/s as you never know.

HTH

Cheers

King
Publicado el 17,junio 2015 - 15:31
Hi King,
I am actually using WB20 in french, so I think this version is ready to be used in production right?
The problem is in my customer IE computer too.
Thanks

Regards,

Victoria