This question is locked. New answers and comments are not allowed.
I have implemented edit, delete, insert, and save options for my grid, using custom commands.
I am now unable to sort without getting the error:The parameters dictionary contains a null entry for parameter 'id' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult SelectLobbyist(Int32)' in 'L5Lobbying.Controllers.L5LobbyingController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
I am now unable to sort without getting the error:
The parameters dictionary contains a null entry for parameter 'id' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult SelectLobbyist(Int32)' in 'L5Lobbying.Controllers.L5LobbyingController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters
Does using custom commands preclude sorting? If not, what do I have to do to accomodate sorting while using a custom Select command with parameters and logic I want for processing the commands? I don't want the logic I use in selecting an item to edit to be used in sorting.
Thanks,
Bob