This is a migrated thread and some comments may be shown as answers.

RadImageEditor MultiBinding bug ?

2 Answers 84 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Liu
Top achievements
Rank 1
Liu asked on 14 Oct 2015, 12:36 PM

when i was try RadImageEditor  use MultiBinding , RadImageEditor  was not work .

but when i was use .net Image Control. the .net image control was ok.

The same MultiBinding  code in Different Control(Telerik RadImageEditor and .net Image Control)

but just .net original Image Control was ok.

 

sorry My engilsh,

Please Help!

Thanks!

u can view the Attach files

2 Answers, 1 is accepted

Sort by
0
Liu
Top achievements
Rank 1
answered on 14 Oct 2015, 12:45 PM

Source Code in  Chinese Net Disk~

http://pan.baidu.com/s/1hqzxXty

Please Click 下载  link at top right; thanks

0
Todor
Telerik team
answered on 19 Oct 2015, 10:12 AM
Hi Liu,

Indeed, I was able to reproduce the issue with RadImageEditor when a MultiBinding is used for setting its Image property. I've logged this in our backlog, but I cannot commit to a specific timeframe when the fix will be available.

As a workaround, you could set the MultiBinding every time the image shall be changed (in your case when the ListBoxItem selection is changed. You could see the attached project which illustrates this. Another option is to use RadImageEditorUI instead RadImageEditor in order to use the MultiBinding for the Image property. The issue cannot be observed with this control and everything works as expected. If its UI doesn't fit for your scenario, you can edit its theme.

However, using a MultiBinding for the RadImageEditor's Image property is not very common and it will be great if you can share with us the exact scenario why this is necessary and we might suggest another solution. For example, you could bind (with a Binding, not a MultiBinding) the RadImageEditor's Image property to a single property from your ViewModel and the logic from the converter used in the MultiBinding might be executed in the property getter.

Regards,
Todor
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ImageEditor
Asked by
Liu
Top achievements
Rank 1
Answers by
Liu
Top achievements
Rank 1
Todor
Telerik team
Share this question
or