Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
igGrid Remote sorting is not working when anonymous collection(AsQueryable) is returned.
posted

Hi,

I am facing an issue with remote sorting . Every time i do sorting i am getting the below exception.
Please help me in resolving this issue. Also please refer the below link for sample application to recreate the issue.

https://maftp.thruinc.net/Desktop/Distro/Show/0491SXOI31B 

{"Value cannot be null.\r\nParameter name: property"}


at System.Linq.Expressions.Expression.Property(Expression expression, PropertyInfo property)

at Infragistics.Web.Mvc.SortingExtensions.ApplyOrder(IQueryable source, String property, String methodName)

at Infragistics.Web.Mvc.SortingExtensions.OrderBy(IQueryable q, List`1 expressions)

at Infragistics.Web.Mvc.GridSorting.TransformDataSource(NameValueCollection queryString, IGridModel grid, IQueryable& queryable)

at Infragistics.Web.Mvc.GridModel.TransformDatasource(NameValueCollection queryString, IQueryable queryable)
at Infragistics.Web.Mvc.GridModel.DataBindInternal()
at Infragistics.Web.Mvc.GridModel.DataBind()

Thanks & Regards

Nagaraju P