This question is locked. New answers and comments are not allowed.
Hi,
I am trying to implement the Ajax binding on the grid. I have the ajax method in my controller, but there is no corresponding view because the controller has [gridaction] attribute which probably should make it return json. But I get this error in client javascript:
"Error! Request did not return json"
Also, if I put a break point, I see that the following error is actually being generated:
'/Grid/_EmployeesHierarchyAjax' was not found or does not implement IController.
I am exploring it myself, but any suggestions would be great on where to look for this.
A different question: If we directly access the grid ajax methods, what should they return? I noticed that if I type this in the browser, I get a page not found: http://demos.telerik.com/aspnet-mvc/grid/_OrderDetailsForOrderHierarchyAjax?orderID=10258
Thanks
Asif
I am trying to implement the Ajax binding on the grid. I have the ajax method in my controller, but there is no corresponding view because the controller has [gridaction] attribute which probably should make it return json. But I get this error in client javascript:
"Error! Request did not return json"
Also, if I put a break point, I see that the following error is actually being generated:
'/Grid/_EmployeesHierarchyAjax' was not found or does not implement IController.
I am exploring it myself, but any suggestions would be great on where to look for this.
A different question: If we directly access the grid ajax methods, what should they return? I noticed that if I type this in the browser, I get a page not found: http://demos.telerik.com/aspnet-mvc/grid/_OrderDetailsForOrderHierarchyAjax?orderID=10258
Thanks
Asif