Data Processor callback function not triggered as mentioned

From JSP i return the XML as below format,

<?xml version="1.0" encoding="UTF-8"?>

I bind the action with DataProcessor as,

lazyGridDataProcessor.defineAction(“updated”,function(id,response){
alert(“Update successful.”);
return true;
})

But somehow this Data Processor callback function not triggered.

Please help… Thanks in advance.

Be sure that XML is returned with valid content type
text/xml
otherwise, browser can just not recognize it as valid xml and skip all processing

You can include one more js file on the page
dhtmlxdataprocessor_debug.js
it will show if incoming xml was not processed correctly by some reason.