Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ez on Feb 20, 2009 01:42
open dhtmlx forum
ALERT: Error type: LoadXML - link clicked during XML loading

Full alert is:

Error type: LoadXML
Description: Incorrect XML

This alert is show always when page link is clicked during XML loading, I spouse that this mean xml loading has been cancelled (whole page changed).

In my opinion this alert should not pop-up when XML loading is cancelled by link click (page change).

Answer posted by Support on Feb 20, 2009 06:39
You can hide error message by adding

dhtmlxError.catchError("LoadXML",function(){ return true; })
Answer posted by ez on Feb 20, 2009 07:11
Thanks, I will use that code.

I think you should hide this error by default, and let the user decide if he like to enable it in code.
But, of course, its only my suggestion (maybe some voting on this subject?)
Answer posted by Support on Feb 20, 2009 08:14
It may be useful to see such kind of errors during development, while they need to be disabled or processed in custom way in production environment - its hard to select the best default approach.