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

RadGridView throws first chance exception on empty ObservableCollection<baseT>

1 Answer 12 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mark Travis
Top achievements
Rank 1
Mark Travis asked on 21 Apr 2010, 08:55 AM
Hi all,

I am running into an problem binding the RadGridView to an empty ObservableCollection<>.

The Scenario.
Define a RadGridView with columns that bind to properties of type DerivedT which is based on type BaseT. Bind the ItemsSource to an empty ObservableCollection<BaseT>.

The problem
When the window is loaded, I receive a first chance exception of 'Property with name <..> cannot be found ot type BaseT.

We are currently using version '00547RadControls_for_WPF_2010_1_0416_Dev'  and this was working with the 0309 version of rad controls.

If required, I have a simple example that reproduces the error on a machine runing the above mentioned version but works fine on a machine running the 0309 version. I have attached screen shots of the exception and the stack trace.

Any help would be appreciated.

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 23 Apr 2010, 09:50 AM
Hi Mark,

We are throwing and catching this exception internally in RadGridView. We are going to revise the cases in which we do so and minimize them as much as we can. Expect to see this improvements in one of our next latest internal builds.

Greetings,
Stefan Dobrev
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
Mark Travis
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or