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

how to load ImageEditor using Image's url ?

1 Answer 205 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
ajoua taha
Top achievements
Rank 1
ajoua taha asked on 04 May 2016, 06:23 PM

Hi,

I have a database in which images are stored by its URLs,

so I'd like to use the url to load image from viewmodel to view.

Thanks.

 

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 09 May 2016, 06:56 AM
Hi Taha,

To download the images from the URLs you have stored in the DB, you could use a WebClient. Further, you should load the downloaded image data and set the corresponding property in the view model to which the RadImageEditor's Image property is bound.

For your convenience, I've created a small sample project which illustrates the described approach above. You can find it attached.

I hope this helps.
If you need further assistance, please get back to us again.

Regards,
Todor
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
ImageEditor
Asked by
ajoua taha
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or