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

Download images from URL

1 Answer 81 Views
SlideView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Justin
Top achievements
Rank 1
Justin asked on 24 Dec 2013, 03:58 AM

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?






1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 27 Dec 2013, 07:55 AM
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}">
     <telerikPrimitives:RadSlideView.ItemTemplate>
        <DataTemplate>
            <Image Source="{Binding}" />
        </DataTemplate>
    </telerikPrimitives:RadSlideView.ItemTemplate>
</telerikPrimitives:RadSlideView>

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.

Regards,
Todor
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
SlideView
Asked by
Justin
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or