Hello again,
The exception is thrown because of the IQuerable properties in the ProjectSearchModel. In order to pass directly the model you could exclude them from the binding:
or change their type to List.
Regards,
Daniel
Telerik
The exception is thrown because of the IQuerable properties in the ProjectSearchModel. In order to pass directly the model you could exclude them from the binding:
public ActionResult ReadProjects([DataSourceRequest] DataSourceRequest request, [Bind(Exclude = "ProjectTypeOptions,ProjectStatusOptions")]ProjectSearchModel searchModel)Regards,
Daniel
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items