Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Kendo Grid handling create/delete errors with popup editor

$
0
0
Let's say I have two MVC controller actions. One is in the context of a popup and one is not (e.g., one is involved in a create or update and one is involved in a delete). Both controller actions make the same preliminary Entity Framework call which throws an error. How am I supposed to know which controller action was involved, and hence whether I should execute cancelChanges on the grid? Since the controller actions are being called by the DataSource Read, Create, Update and Destroy, I would hope to be able to key off that information, not the host of errors that might be thrown by Entity Framework. Maybe I'm missing something and need an example.

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>