Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by techtigre on Feb 02, 2009 08:28
open dhtmlx forum
Ajax Request

Does your DHTML ajax module have any custom error handling built in? I have used the Dojo widget set, and they have fairly good set of error handling functions. I would like to know if DHX ajax module has any provision built in to handle http/server errors.
Answer posted by Support on Feb 02, 2009 09:20
The ajax library on its own just a transport layer, which has  not any predefined format of data or specification
If error occurs while using doXPath or getXMLTopNode methods - the component raise error, which can be catched as 

dhtmlxError.catchError("LoadXML",function(){
   //any custom reaction here
})