I have 2 questions here:
Can I invoke Connector without initiating controls (e.g. dhtmlxGird loadXML function)?
Can I disable any error prompts (not prompting at the screen) invoked by the connector or the grid?
Thanks and Regards.
I have 2 questions here:
Can I invoke Connector without initiating controls (e.g. dhtmlxGird loadXML function)?
Can I disable any error prompts (not prompting at the screen) invoked by the connector or the grid?
Thanks and Regards.
Can I invoke Connector without initiating controls
You need to call the related url, it can be done without components ( by navigation to that url, or by calling dhtmlxAjax with that url )
Can I disable any error prompts
You can add the code like next, it will add the empty error handler for invalid server side response
dhtmlxError.catchError(“LoadXML”, function(){
})
It’s great! it provides me a greater flexibility to use connector to update data based on the dynamic SQL select/update/insert/delete statements designed for many scenarios.
Thanks!
Furthermore, I have a question on connector responses as U mentioned dhtmlxError object.
How can I get/handles connector response (esp. after updating DB, e.g. column errors).
I don’t see any samples (for .NET) to handle connector error/response.
Would U give me some examples?
Many thanks again.
You can access the raw text of response by using
dhtmlxError.catchError(“LoadXML”, function(type, desc, erData){
alert(erData[0].responseText);
})
I am really appreciated for your quick response.
referring to the above first questions, U mentioned:
Can I invoke Connector without initiating controls
You need to call the related url, it can be done without components ( by navigation to that url, …
Any Samples for me?
I don’t want to use dhtmlxAjax also.
Thanks and Regards.
There is no samples, but description of url parameters can be found here
docs.dhtmlx.com/doku.php?id=dhtm … :extending
and here