how to load ImageEditor using Image's url ?

2 posts, 0 answers
  1. ajoua taha
    ajoua taha avatar
    25 posts
    Member since:
    Feb 2016

    Posted 04 May Link to this post

    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.

     

  2. Todor
    Admin
    Todor avatar
    168 posts

    Posted 09 May Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top