Hi,
I have a RadGridView with several GridViewData columns. The user is meant to input values into those columns, however, some of the columns are supposed to be bound to fields that have custom data types. For example, I have a column in the Grid called "Length." The "Length" data type in the code behind is of a custom type called "Quantity." Therefore, the value entered in the "Length" column needs to be somehow converted to a type of Quantity. But I cannot figure out how to do such binding in the xaml code, or how to use a combination of the xaml code and C# code-behind to do this.
I have other custom data types for various fields in this grid, as well. So, I need to know how to bind those grid columns in such a way that the values input into them will be converted and thus accepted by the custom types in the code-behind.
Thank you in advance.
Sean
I have a RadGridView with several GridViewData columns. The user is meant to input values into those columns, however, some of the columns are supposed to be bound to fields that have custom data types. For example, I have a column in the Grid called "Length." The "Length" data type in the code behind is of a custom type called "Quantity." Therefore, the value entered in the "Length" column needs to be somehow converted to a type of Quantity. But I cannot figure out how to do such binding in the xaml code, or how to use a combination of the xaml code and C# code-behind to do this.
I have other custom data types for various fields in this grid, as well. So, I need to know how to bind those grid columns in such a way that the values input into them will be converted and thus accepted by the custom types in the code-behind.
Thank you in advance.
Sean