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

Pasting to a property of non primitive type doesn't seem to work

1 Answer 56 Views
GridView
This is a migrated thread and some comments may be shown as answers.
jose
Top achievements
Rank 1
jose asked on 13 May 2011, 09:37 AM
Let DoubleValue be a wrapper type around a Double, with an attached TypeConverter that knows how to convert from/to Double. And suppose that we have a GridViewDataColumn bound, via DataMemberBinding, to a property of this type. Pasting numeric strings to this column doesn't work, internally generating an InvalidCast exception.

To me this looks like a bug, the column is ignoring the attached type descriptor. It should be doing
System.TypeDescriptor.GetConverter(...).ConvertFrom(...)

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 13 May 2011, 09:41 AM
Hello jose,

 I've just replied to your other thread

All the best,
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
jose
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or