What you is javascript getting a controlid thats not there. Perhaps you have assigned something thats not defined or not ther when you call it. Do you use web plugins?
It seems like a listbox or popupmenu or something which has .deleteAllRows. Try to search for that method and see if you call it somewhere.
Yes I do, I use some of them. One that I like a lotIt is a Window Splitter but, I found out lately that it does interfere with the WebMapViewer. It’s use is tricky since factors such as the order in which I add the containers in design mode has a great impact on how it behaves. I think I’ll disable it and see what happens…
To answer this, you must understand that the Xojo objects and objects in the web browser are different objects. Xojo connects them together on the server side. However, if the control isn’t actually an object in the browser for some reason and Xojo tries to use it as one, you will get the “%object% is undefined” error. It’s a Javascript error, and not a Xojo one.
BKSWebSplitter is indeed very particular about how it’s used. This is the result of trying to balance the Xojo objects and Javascript objects. I received your report about WebMapViewer and will look into it as soon as I can, but I am still catching up on projects from being quite ill earlier in February and March.
I don’t see the WebSplitter as the undefined object in the Javascript error above, the undefined object is a Listbox. The line triggering the refresh may be the WebSplitter, and if that were the case, it would be any custom Listbox handling (in ContainerControl Event Handlers possibly?) that’s failing.
When you set up the splitter, the browser side Javascript takes note of the two containers that you’re splitting in the browser to trigger their resize events when the splitter is moved. Because the ContainerControl has to exist in the browser for this to work, it leads me to believe it’s a server-side issue, and not a browser side one.
(Thank you for sending in bugs through Mantis by the way, that makes them significantly easier to track!)