I have a RadGridView bound to a generic ObservableCollection of a class I use in my application.
The class has a public property called ID (int)
I created a sort descriptor to make sure the data is sorted using the ID field
Code:
<Telerik:RadGridView.SortDescriptors>
<Telerik_Windows_Data:SortDescriptor Member="ID" SortDirection="Descending"/>
</Telerik:RadGridView.SortDescriptors>
While working at run-time the code generates an Expression Blend 3 error:
"Invalid property or field - 'ID' for type Object"
I'd appreciate any input on why.
The class has a public property called ID (int)
I created a sort descriptor to make sure the data is sorted using the ID field
Code:
<Telerik:RadGridView.SortDescriptors>
<Telerik_Windows_Data:SortDescriptor Member="ID" SortDirection="Descending"/>
</Telerik:RadGridView.SortDescriptors>
While working at run-time the code generates an Expression Blend 3 error:
"Invalid property or field - 'ID' for type Object"
I'd appreciate any input on why.