This question is locked. New answers and comments are not allowed.
I use webclient to download an image from a website and want to load it in the image editor.
I get this exception in the output window though the app does not crash. The image is not shown at this point. When I use a tool i.e. resize tool and click save the image is displayed just fine
System.Windows.Data Error: 'MS.Internal.Data.DynamicValueConverter' converter failed to convert value 'System.Object[]' (type 'System.Object[]'); BindingExpression: Path='' DataItem='System.Object[]' (HashCode=6421510); target element is 'Telerik.Windows.Controls.RadImageEditor' (Name='imageEditor'); target property is 'Source' (type 'System.Windows.Media.ImageSource').. System.InvalidOperationException: Can't convert type System.Object[] to type System.Windows.Media.ImageSource.
at MS.Internal.Data.DefaultValueConverter.Create(Type sourceType, Type targetType, Boolean targetToSource)
at MS.Internal.Data.DynamicValueConverter.EnsureConverter(Type sourceType, Type targetType)
at MS.Internal.Data.DynamicValueConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
at System.Windows.Data.BindingExpression.ConvertToTarget(Object value).
any help is appreciated
thanks
Mike
I get this exception in the output window though the app does not crash. The image is not shown at this point. When I use a tool i.e. resize tool and click save the image is displayed just fine
System.Windows.Data Error: 'MS.Internal.Data.DynamicValueConverter' converter failed to convert value 'System.Object[]' (type 'System.Object[]'); BindingExpression: Path='' DataItem='System.Object[]' (HashCode=6421510); target element is 'Telerik.Windows.Controls.RadImageEditor' (Name='imageEditor'); target property is 'Source' (type 'System.Windows.Media.ImageSource').. System.InvalidOperationException: Can't convert type System.Object[] to type System.Windows.Media.ImageSource.
at MS.Internal.Data.DefaultValueConverter.Create(Type sourceType, Type targetType, Boolean targetToSource)
at MS.Internal.Data.DynamicValueConverter.EnsureConverter(Type sourceType, Type targetType)
at MS.Internal.Data.DynamicValueConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
at System.Windows.Data.BindingExpression.ConvertToTarget(Object value).
any help is appreciated
thanks
Mike