This question is locked. New answers and comments are not allowed.
One of the things that bugs me about ajax editing is that I don't know how to handle errors (like business rule validation errors). For example, if I were to order 100 units of product ABC but upon a database check discover there were only 90 units, I would want to communicate back to the UI that there wasn't enough units to order.
Ideally, the error message would be handled in exactly the same way as modelstate validation errors (e.g . The field xyz is required) Currently, Telerik Grid does this with it little box "cloud" box with red letters. However, I'm okay if the error message shows up somewhere else.
Do you have any example code of how to do this? All the sample code shows handling of client errors.
Thanks,
Ideally, the error message would be handled in exactly the same way as modelstate validation errors (e.g . The field xyz is required) Currently, Telerik Grid does this with it little box "cloud" box with red letters. However, I'm okay if the error message shows up somewhere else.
Do you have any example code of how to do this? All the sample code shows handling of client errors.
Thanks,