This question is locked. New answers and comments are not allowed.
I have a grid set up to bind immediately from the Model. It also has methods for AJAX refresh, insert, update, and delete. The type of object that the grid displays has an template defined in EditorTemplates. I am using the mode PopUp for editing. I can successfully get all of this to work. However, the moment I try to add the DELETE command to the grid side-by-side with the EDIT command, ASP.NET throws the following exception when attempting to load the page:
Templates can be used only with field access, property access, single-dimension array index, or single-parameter custom indexer expressions.
I've confirmed that it is somehow connected to my editor template. What is baffling to me, is that for whatever reason, a simple AJAX delete is causing it to be thrown. Any ideas? Is this a bug?
EDIT: This is now posted at Stack Overflow as well - Telerik MVC Grid AJAX Delete Results in Exception.
Templates can be used only with field access, property access, single-dimension array index, or single-parameter custom indexer expressions.
I've confirmed that it is somehow connected to my editor template. What is baffling to me, is that for whatever reason, a simple AJAX delete is causing it to be thrown. Any ideas? Is this a bug?
EDIT: This is now posted at Stack Overflow as well - Telerik MVC Grid AJAX Delete Results in Exception.