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

A first chance exception of type 'System.ArgumentException' occurred in Telerik.Windows.Data.dll

9 Answers 210 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Neil
Top achievements
Rank 1
Neil asked on 14 Jan 2010, 05:09 PM
Hi,

I'm having a problem with the grid view control.

During runtime my grid displays the content correctly, however when you scroll the grid up and down it throws exceptions in the VS output window.  They seem to slow the entire application down.

A first chance exception of type 'System.ArgumentException' occurred in Telerik.Windows.Data.dll



Enclosed is the XAML

<

 

UserControl x:Class="GridTeams"

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" >

 

 

 

<UserControl.Resources>

 

 

 

 

</UserControl.Resources>

 

 

 

<Grid>

 

 

 

<telerik:RadGridView ItemsSource="{Binding Source={StaticResource DataTeams}}"

 

 

Margin="10">

 

 

 

<telerik:RadGridView.Columns>

 

 

 

 

<telerik:GridViewDataColumn DataMemberBinding="{Binding XPath=TN}"/>

 

 

 

 

 

</telerik:RadGridView.Columns>

 

 

 

</telerik:RadGridView>

 

 

 

</Grid>

 

</

 

UserControl>

 




I'm using RadControls_for_WPF_2009_3_1208_TRIAL.msi

When I run another demo with the same content it doesnt seem to cause the same effect.   Therefore I am confused as to where the problem is coming from.  Any help would be appreciated.

Kind regards
Neil

9 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 15 Jan 2010, 06:52 AM
Hi Neil,

Can you send us this project where we can reproduce and debug these exceptions?

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
Neil
Top achievements
Rank 1
answered on 15 Jan 2010, 08:23 AM
Hi Vlad,

I have uploaded the source code in ticket: 273549

Kind regards
0
Vlad
Telerik team
answered on 15 Jan 2010, 08:38 AM
Hello Neil,

I've just tried your demo however didn't get any exceptions in the output window. Can you please try the attached project at your end and let me know about the result?

Sincerely yours,
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
Neil
Top achievements
Rank 1
answered on 15 Jan 2010, 08:51 AM
Hi,

I have tried the application and it's not showing any errors now when running from Visual Studio.

I have just retried my old app and to check my sanity and it is still doing it?

Kind regards
Neil
0
Neil
Top achievements
Rank 1
answered on 15 Jan 2010, 03:53 PM
Hi Vlad,

Have you managed to find any reason why the exceptions were occurring in my app?

Kind regards

Neil
0
Vlad
Telerik team
answered on 15 Jan 2010, 04:03 PM
Hello Neil,

Unfortunately I'm not sure why you get these exceptions since I was unable to reproduce them locally - can you verify the grid version once again in your project?

Best wishes,
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
Neil
Top achievements
Rank 1
answered on 18 Jan 2010, 10:07 AM
Hi ya

The version im using is 2009.3.1208

regards
Neil
0
Eric
Top achievements
Rank 1
answered on 28 Oct 2010, 05:14 PM
I have a similar problem with a WPF gridview.  To ensure they appear in the output window make sure System.ArgumentException is user-handled and/or thrown in Visual Studio (Debug-->Exceptions-->CLR Exceptions-->System). 
0
Vlad
Telerik team
answered on 29 Oct 2010, 06:59 AM
Hello Eric,

 These problems were almost a year ago - can you post more info about your grid version? 

Kind regards,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Neil
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Neil
Top achievements
Rank 1
Eric
Top achievements
Rank 1
Share this question
or