WEBDEV v2025 45g Issue with HTML Edit Control

WEBDEV v2025 45g Issue with HTML Edit Control

I have found an issue with the HTML Edit control in WEBDEV v2025 45g.

It requires a specific set of circumstances, but it’s was a real pain to figure out what the issue was.

If add an HTML edit control to your page, and set the toolbar to Never.

Then if you have any cells that have planes enabled and try to change the plane on one of those cells, or have a popup window and try to do a PopupDisplay() you will get the following JavaScript error.

The real issue is that once you have a JavaScript error on your page, then the rest of the browser code on the page either doesn’t execute or performs unexpectedly.

The only work around I have found is to change the Toolbar setting to Automatic. If you are wondering why we would want a HTML edit control with no Toolbar, we use them in this project to show things like Terms of Service agreements, which are stored in the database as HTML. Using an HTML Edit control without a toolbar and in read only mode, gives the user a nice display that they can scroll and view, even copy and paste from, but can not edit.

This has been submitted to tech support as reference ST/H399755 and I will let you know once I have a response. If you would like to experiment with the sample project showing the issue it is on Dropbox @ https://www.dropbox.com/scl/fi/7wcikq5fh8vj0pn5n9inv/Backup_HTMLEditIssue_2025-01-17.ZIP?rlkey=1gnse518rt1z3acb4synpkbct&dl=0

Update with Fix

Support sent me a fix for this issue and I have tested and confirmed that it does resolve the issue. Below is their instructions:

Use this link to download the upgrade for WEBDEV 2025 version  interne 300045G:

This upgrade includes:

– \programs\resource\WDSaisieRiche.js (44,98 Ko)

Make sure the upgrade file is unzipped keeping the folder tree (path) into the \Programs\ folder for WEBDEV 2025 and if asked accept to replace any existing files. Then use the “”Regenerate the HTML pages”” menu (Project > Other actions > Regenerate the HTML pages) in order to force the rebuild of the site with the upgraded modules.

Before testing your site again, make sure to empty the browser caches.

Update #2

I have confirmed that v2025 Update 1 includes this fix

Leave a comment