I am attempting to update some code that was written against a Telerik release from 2011 to our latest version released recently. I was searching for documentation on the deprecation of the DataMemberBinding property but I couldn't find anything.
The issue is that in the 2011 release, DataMemberBinding was a property exposed on the GridViewColumn, but in the 2012 release, it is not. Is there an alternate way to access the Binding for the column in the event handler like this?
radGridView.DistinctValuesLoading += (s, e) =>
{
MyType myParameter = e.Column.DataMemberBinding.ConverterParameter
as
MyType;
if
(myParameter !=
null
) _viewModel.CurrentConverterParameterType = myParameter;
};
The issue is that in the 2011 release, DataMemberBinding was a property exposed on the GridViewColumn, but in the 2012 release, it is not. Is there an alternate way to access the Binding for the column in the event handler like this?