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

GridView showing System.WeakReference rather than value

3 Answers 72 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 11 Aug 2017, 08:34 PM

Hello,

I am using a RadGridView. I set my source to an ObservableCollection of objects that represent my rows of data. During run time, rather than seeing the value of property in the column cells, I see System.WeakReference.

Any clue as to what this could be due to?

Thanks,

Brian

3 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 16 Aug 2017, 05:12 PM
Hi,

I cannot relate the reported behavior to a known one. Would it be possible for you to send us some more details about the scenario settings? Can you also confirm which version of Telerik UI for WPF you are using on your side?

Regards,
Ivan Ivanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Brian
Top achievements
Rank 1
answered on 17 Aug 2017, 11:33 AM
I was able to get around my issue. The class I was using in my ObservableCollection Implemented the IEquatable interface. Removing this implementation fixed the issue.
0
Ivan Ivanov
Telerik team
answered on 22 Aug 2017, 08:39 AM
Hello,

I am glad to hear that the issue is resolved on your side.

Regards,
Ivan Ivanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
Brian
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Brian
Top achievements
Rank 1
Share this question
or