Show Database Error to user

Asp.net domain.
i am using stored procedure to loading, inserting events from Database.
while inserting events i am checking multiple condition(depends on my process). if insertion is failed i am setting output parameter as error so i want to display that error to the user.

Hello,
you can write the error message to the server response using the Details property of DataAction object (in case of error it should receive value automatically)
docs.dhtmlx.com/connector__net__ … ystem.html

Then, on the client side you can capture server response and if it has an error message - show it to the user

dp.attachEvent("onAfterUpdate", function (id, action, tid, response) { var message = response.text || response.textContent; dhtmlx.alert(message); });

docs.dhtmlx.com/api__dataprocess … event.html