Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 4 Jahren, 8 Monaten
Letzter Beitrag:
vor 4 Jahren, 8 Monaten
Beteiligte Autoren:
Victoria Caballero, Fabrice Harari, Piet van Zanten, Steven Sitas

[WB17]: problem with table control in IE9/IE10 (SOLVED)

Startbeitrag von Victoria Caballero am 19.11.2013 12:05

Hi everybody,
I have an issue that I have been trying to solve for a couple of days and it is driving me crazy :-).
I have a table which is filled by programming thru a Query created in the project with some parameters.
So in some columns of the table I have some code executed in the event "Whenever modified" of each column. In this code basically when the user click in the check box columns I need to update the record in the database (it is a very simple code).
Everything works fine if the table is showing a few rows (10, 20, 30 rows for example). Everytime the user click in any of the check boxes in the columns the program respond fast as it should. However as soon as the table shows hundred or thousand rows the user can only click once in a check box column and then the program hangs and does not respond. If the user keep clicking at some point we get a message from the browser "localhost is not responding due to a long-running script". Everything was working fine in IE8 but in IE9 and IE10 we have this issue.

This is the table with the check boxes column with code in the event "Whenever modified":

This is the table with just a few records, I can click in any check box without any problem:

This is what happend when the table has thousand rows. Below in the image is the error message from IE10: http://screencast.com/t/biKFJL6f

Does any one knows why is that? Am I the only one having this issue?
Any help or answer is appreciated. Thanks.




Re: [WB17]: problem with table control in IE9/IE10

Hi Victoria,

You might try IE8 compatibility as I saw suggested by Fabrice by adding this line to the page header:
<meta http-equiv="X-UA-Compatible" content="IE=8">
Is the code executed in Ajax mode?


von Piet van Zanten - am 19.11.2013 13:01

Re: [WB17]: problem with table control in IE9/IE10

Hi Piet,
I have tried this already and it does not work :-(.
I put the code in the page header, also the code in an Html control, same result.

The table is an Ajax table of course, otherwise I would not be able to use check boxes in the columns. The code in each column however is not Ajax. You can take a look here: http://screencast.com/t/SKTxofiTly


von Victoria Caballero - am 19.11.2013 13:24

Re: [WB17]: problem with table control in IE9/IE10

Hi Victoria,
Andy Stapleton presented an interesting Webinar about this kind of problems.
It is at windevlive - seminar #088.
Ofcourse it is interesting that it worked OK with IE8 - does it work with other browser?

Steven Sitas

von Steven Sitas - am 19.11.2013 14:01

Re: [WB17]: problem with table control in IE9/IE10

Hi everybody,
thanks for your answers.

Finally my problem is solved. I have used the metatag sugested before in the "Advanced" Tab of my pages. In my mind what I am doing with the metatag used as "attibute" it is exactly the same as adding the code directly in the "HTML code added to the page header" however it did not work in this way and I do not know why to be honest.

So here you can take a look how am I using the metatag:



von Victoria Caballero - am 22.11.2013 08:10

Re: [WB17]: problem with table control in IE9/IE10

Hi Victoria

AFAIK, Microsoft is accepting this line ONLY if it's the first header line... By adding it in the html code, it's probably way to late

Best regards

von Fabrice Harari - am 22.11.2013 16:28
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.