This question is locked. New answers and comments are not allowed.
I continue to encounter difficulties with DataBinding in the MVC Grid as demonstrated by the following error:
Server Error in '/' Application.
Compiler Error Message: CS1502: The best overloaded method match for 'Telerik.Web.Mvc.UI.Fluent.GridBindingSettingsBuilder.Insert(System.Web.Routing.RouteValueDictionary)' has some invalid arguments
Source Error:
Source File: d:\Inetdev\PortalDoorsSystem074Net40VS10\GTG.PDS.WebApps.AuthWriteMvcApp\Views\GtgPds\Nexus.cshtml Line: 10
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225
In the above error report, note that the .Select() used an overload with the RouteName as first arg and it does work. But I am unable to get the simpler overload with just the RouteValueDictionary to work.
So the questions are: Bug ? Which of the overloads are supposed to work in which situations?
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.Compiler Error Message: CS1502: The best overloaded method match for 'Telerik.Web.Mvc.UI.Fluent.GridBindingSettingsBuilder.Insert(System.Web.Routing.RouteValueDictionary)' has some invalid arguments
Source Error:
Line 8: .DataBinding(db => db.Ajax()
Line 9: .Select("PdsDefault", new { controller = "GtgPds", action = "_NexusResourcesAjax" })
Line 10: .Insert(new { controller = "GtgPds", action = "_NexusResourcesAjaxInsert" })
Line 11: .Update(new { controller = "GtgPds", action = "_NexusResourcesAjaxUpdate" })
Line 12: .Delete(new { controller = "GtgPds", action = "_NexusResourcesAjaxDelete" }))
|
Source File: d:\Inetdev\PortalDoorsSystem074Net40VS10\GTG.PDS.WebApps.AuthWriteMvcApp\Views\GtgPds\Nexus.cshtml Line: 10
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225
In the above error report, note that the .Select() used an overload with the RouteName as first arg and it does work. But I am unable to get the simpler overload with just the RouteValueDictionary to work.
So the questions are: Bug ? Which of the overloads are supposed to work in which situations?