I have a radgridview which I am trying to reset. If I have used the Filter or Sort on that grid then it throws an error from PropertyChanged event for the datacontext.
Unhandled error in Silverlight application
"Invalid property or field <Column X> for type :Object at Telerik.Windows.Data.Expressions.MemberAccessTokenExtensions.CreateMemberAccessExpression(IMemberAccessToken token, Expression instance ) .. (then rest of the stacktrace)
Somehow it is not taking the actual class type which is assigned as the datacontext but using the object type and trying to cast the field name from it.
Does anyone came across this bug before?
What I need,
There is a grid which currently have some filter expressions and/or sort expressions. I need to reset this by simply changing the data context again. I do not want to go and remove the filter and sort criterias explicitely first.
Thanks
Anoop
Unhandled error in Silverlight application
"Invalid property or field <Column X> for type :Object at Telerik.Windows.Data.Expressions.MemberAccessTokenExtensions.CreateMemberAccessExpression(IMemberAccessToken token, Expression instance ) .. (then rest of the stacktrace)
Somehow it is not taking the actual class type which is assigned as the datacontext but using the object type and trying to cast the field name from it.
Does anyone came across this bug before?
What I need,
There is a grid which currently have some filter expressions and/or sort expressions. I need to reset this by simply changing the data context again. I do not want to go and remove the filter and sort criterias explicitely first.
Thanks
Anoop