Incorrect XML error

In my application, we constantly have a problem when I surf into another page before actual one finished loading. The application shows an error in Load XML, Incorrect XML, the question is, how can I catch this type of error, how can I get which type is it, why is it caused.


Next will work for all dhtmlx components … handling&s[]=catcherror