Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ben Bradley on Mar 19, 2008 15:39
open dhtmlx forum
Disable XML Load Error JS Alert

Hi guys

Just wondering if it's possible to disable the JavsScript alert box that comes up saying "XML Load Error. Incorrect XML"?
And replace it with something else?

I'm developing a solution that loads up several grids on one page which can take a bit of a time.

When users switch pages or try and perform another action they get the JS alert - even though the XML output is actually correct, I've done loads of testing.

I'd just like to be able to have the error just come up as red text within the grid or something instead.
Is that possible?

Thanks, Ben
Answer posted by Support on Mar 20, 2008 06:26
It possible to catch error event and replace alert with any custom type of message ( or just ignore it )
Please check
    http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&q=918&ssr=yes&s=catchError