Hi,
I have next code:
where "bic" is Telerik BitmapImageConverter and Photo is byte[] (readed with WCF.RIA from server database)
It is working fine, JPEG image is correctly displayed.
But when I replace "Image line" with:
I got some strange exception and application crashes (!):
Message: Set property 'Telerik.Windows.Controls.RadImageEditorUI.Image' threw an exception.
I did plan to use this component for display photos from database and loading or saving them to disk :(
What is wrong?
Leos
I have next code:
<
telerik:DataFormDataField
Label
=
"{Binding Photo, Source={StaticResource res}}"
>
<
telerik:DataFormDataField.ContentTemplate
>
<
DataTemplate
>
<
Image
Source
=
"{Binding Photo, Converter={StaticResource bic}, Mode=TwoWay}"
/>
</
DataTemplate
>
</
telerik:DataFormDataField.ContentTemplate
>
</
telerik:DataFormDataField
>
It is working fine, JPEG image is correctly displayed.
But when I replace "Image line" with:
<
telerik:RadImageEditorUI
Image
=
"{Binding Photo, Converter={StaticResource bic}, Mode=TwoWay}"
/>
I got some strange exception and application crashes (!):
Message: Set property 'Telerik.Windows.Controls.RadImageEditorUI.Image' threw an exception.
I did plan to use this component for display photos from database and loading or saving them to disk :(
What is wrong?
Leos