Posted 7 August 2017, 4:29 pm EST
Hi!
I am using full text search against a grid containing 5 columns of string and ints based on data pulled from a SQL table.
I'm getting an error, "Instance property '' is not defined for type..." when the user enters any char in the search box.
A screen shot of the exception point is attached and the full detail is:
{System.ArgumentException: Instance property '' is not defined for type 'HCCFOnline.ServiceReferenceMaster.VW_PRO_CONTACT_LITE'" &
vbCrLf & " at System.Linq.Expressions.Expression.Property(Expression expression, String propertyName)" & vbCrLf & " at
C1.Silverlight.DataGrid.FilterDescription.MakePropertyAccess(Type type, Expression param, String propertyPath)" & vbCrLf & " at
C1.Silverlight.DataGrid.FilterDescription.BuildOperationExpression[T](ParameterExpression param, String propertyPath, FilterOperation
filterOperation, FilterType filterType, Object value)" & vbCrLf & " at C1.Silverlight.DataGrid.FilterDescription.BuildExpression[T]
(FilterDescription filterDescription)" & vbCrLf & " at C1.Silverlight.DataGrid.FilterDescription.GetExpression[T]()" & vbCrLf & "
at HCCFOnline.OrFilteredDataSourceView.ToMSFilterDescriptions[T](DataGridColumnValue`1[] filterDescriptions)}
Please can you help me understand what is happening and what I need to do to fix it. Wrapping a Try Catch works (:)) but this doesnt
help me understand.
Also, the ui seems very slow to respond when typing chars in the search box when the grid contains > 2500 rows...any tips to speed this up
Thanks!
Chris