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

Setting up a carousel for the first time

1 Answer 34 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
G S S
Top achievements
Rank 1
G S S asked on 27 Sep 2009, 09:34 PM
Hi,

This control (Carousel) seems to be quite a beast to get to grips with.

Given the following code (and the paths are correct but taken out for privacy reasons), this does not display the carousel:


        <telerikNavigation:CarouselScrollViewer>
            <telerikNavigation:RadCarouselPanel x:Name="Panel" ItemsPerPage="7" PathPadding="50, 0, 50, 0">
                <Image Source=" " VerticalAlignment="Top" HorizontalAlignment="Left"/>
                <Image Source=" " VerticalAlignment="Top" HorizontalAlignment="Left"/>
            </telerikNavigation:RadCarouselPanel>
        </telerikNavigation:CarouselScrollViewer>

Is this the correct way to setup a carousel?


Thanks

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 29 Sep 2009, 07:23 AM
Hi G S S,

You just need to set the CanContentScroll property of the ScrollViewer to true to be able to control the carousel. You can also use the default ScrollViewer class instead of the CarouselScrollViewer one.
Hope this helps.

Sincerely yours,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Carousel
Asked by
G S S
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or