The ASPxGridView control caches object properties used in data-binding expressions. If you bind a grid to an XPO or custom objects that use a referenced association, the control tries to cache references too. Since the caching operation is similar to the ToString
method and is performed smoothly, the object restoration from cache (from String
to object) can be raised with the following exception: TypeConverter cannot convert from System.String.
This example demonstrates how to implement a custom TypeConverter class that can convert data from String
to object
type correctly.
(you will be redirected to DevExpress.com to submit your response)