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

[Solved] Filtering crashes when filter for non existing values (DomainDataSource)

1 Answer 69 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
uku
Top achievements
Rank 1
uku asked on 28 Nov 2009, 06:16 PM
Hello,

I've the following crash when filtering for non exisiting values, which I can reproduce also in the Telerik GridView-DomainDataSource sample

Microsoft JScript runtime error: Unhandled Error in Silverlight 3 Application Invalid property or field - 'CompanyName' for type: Entity   at System.Windows.Ria.OperationBase.InvokeCompleteAction()
   at System.Windows.Ria.OperationBase.Complete(Object result)
   at System.Windows.Ria.Data.LoadOperation.Complete(DomainClientResult result)
   at System.Windows.Ria.Data.DomainContext.CompleteLoad(IAsyncResult asyncResult)
   at System.Windows.Ria.Data.DomainContext.<>c__DisplayClass11.<Load>b__e(Object )

I've checked this also with the latest build (Version 2009.3.1127.1030) and it's still the same problem.

I've done the following.
I've openend the filter dialog and entered some invalid value (e.g. sdfsdfsdfsdfdsfdsf) into the first text box and then I've tried to filter.
The result was the crash mentioned above. It's very user unfriendly at the moment because he has to take care that he doesn't enter an invalid value.

I hope you can reproduce the error and fix it as soon as possible.

Thanks

Uwe

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 30 Nov 2009, 06:53 AM
Hello Uwe,

Actually the crash comes directly from RIA services (check the stack trace) since the grid filtering is canceled and transferred to the the service.

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
uku
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or