This question is locked. New answers and comments are not allowed.
Hi
I've implemented RadGrid in an MVC 2 application. Server binding works, but I updated it to Ajax binding. The page now comes up with the data initially, but when I try to page, sort, filter etc, I get "Error! The requested URL returned 500 - Internal Server Error". The problem should therefore be the with the action, but I can't see what could be wrong.
I'm using VS2010 Pro, SQL 2008R2, EF 4 and C# on Win7. Telerik MVC is 2010.2.825 demo version.
Any ideas?
Re
Dennis
I've implemented RadGrid in an MVC 2 application. Server binding works, but I updated it to Ajax binding. The page now comes up with the data initially, but when I try to page, sort, filter etc, I get "Error! The requested URL returned 500 - Internal Server Error". The problem should therefore be the with the action, but I can't see what could be wrong.
I'm using VS2010 Pro, SQL 2008R2, EF 4 and C# on Win7. Telerik MVC is 2010.2.825 demo version.
<% Html.Telerik().Grid(Model) .Name("grdPeople") .DataBinding(d => d .Ajax().Select("AjaxList", "Person") ) .Pageable() .Sortable() .Filterable() .Groupable() .Render(); %> [GridAction] public ActionResult AjaxList() { return View(new GridModel(people.GetPeople())); } public IQueryable<Person> GetPeople() { return from p in db.People .Include("Status") .Include("City") .Include("Country") orderby p.FirstName, p.LastName select p; }Any ideas?
Re
Dennis