This is a migrated thread and some comments may be shown as answers.

System.ArgumentException

3 Answers 30 Views
GridView
This is a migrated thread and some comments may be shown as answers.
zai yunfeng
Top achievements
Rank 2
zai yunfeng asked on 21 Dec 2009, 05:17 AM
When I do this: RadGridView.ItemsSource = null;
A first chance exception of type 'System.ArgumentException' occurred.What can I do?
Message:
    "Invalid property or field - 'tip' for type: Object"
StackTrace:
   at Telerik.Windows.Data.Expressions.MemberAccessTokenExtensions.CreateMemberAccessExpression(IMemberAccessToken token, Expression instance)
   at Telerik.Windows.Data.Expressions.ExpressionFactory.MakeMemberAccess(Expression instance, String memberName)
   at Telerik.Windows.Data.Expressions.ExpressionFactory.MakeMemberAccess(Expression instance, String memberName, Boolean liftMemberAccessToNull)
   at Telerik.Windows.Data.Expressions.PropertyAccessExpressionBuilder.CreateMemberAccessExpression()
   at Telerik.Windows.Data.Expressions.MemberAccessExpressionBuilderBase.CreateLambdaExpression()
   at Telerik.Windows.Data.SortDescriptorCollectionExpressionBuilder.Sort()
   at Telerik.Windows.Data.SortDescriptorCollection.Sort(IQueryable queryable)
   at Telerik.Windows.Data.QueryableExtensions.Sort(IQueryable source, SortDescriptorCollection sortDescriptors)
   at Telerik.Windows.Data.QueryableCollectionView.CreateView()
   at Telerik.Windows.Data.QueryableCollectionView.get_QueryableView()
   at Telerik.Windows.Data.QueryableCollectionView.CreateInternalList()
   at Telerik.Windows.Data.QueryableCollectionView.EnsureInternalList()

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 21 Dec 2009, 06:46 AM
Hi zai yunfeng,

Can you post more info about your grid version?

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
zai yunfeng
Top achievements
Rank 2
answered on 22 Dec 2009, 02:02 AM
Hi Vlad ,

The version is Q3 2009.3.1103.35.
0
Vlad
Telerik team
answered on 22 Dec 2009, 06:53 AM
Hello zai yunfeng,

Can you try our latest official service pack Q3 SP1 (or even latest build) to see what will be the result?

Regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
zai yunfeng
Top achievements
Rank 2
Answers by
Vlad
Telerik team
zai yunfeng
Top achievements
Rank 2
Share this question
or