Download images from URL

2 posts, 0 answers
  1. Justin
    Justin avatar
    15 posts
    Member since:
    Jan 2012

    Posted 23 Dec 2013 Link to this post

    I'm trying to use the SlideView control and bind a list of images to it. The Images URI is a weblink. I've been able to get it working for a single Image, but when I try to add in the SlideView control, nothing happens. Is there a sample or solution that I could go off of?

  2. Todor
    Todor avatar
    772 posts

    Posted 27 Dec 2013 Link to this post

    Hello Justin,

    RadSlideView works with URI-s just the same way as with relative paths to images inside your project, with the only difference that you need to make sure that your device/emulator has internet connection. Regarding the code, you can use RadSlideView like shown in our samples, demos and documentation in a way similar to this:
    <telerikPrimitives:RadSlideView ItemsSource="{Binding Items}">
                <Image Source="{Binding}" />

    This sample assumes that your data context is a view model that contains Items collection of strings which represent the images' URI-s.

    I hope this information helps. If you still are not able to make it work, you can open a new support ticket where you can attach a sample project, which we can use to show you what you are missing.

    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
Back to Top