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

Problem with RadCarousel animation re-runs

1 Answer 79 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Sandi Markon
Top achievements
Rank 1
Sandi Markon asked on 19 Jul 2010, 10:14 AM
Hello,

I am trying to adjust the RadCarousel in such a manner, that everytime the ItemsSource property of the carousel changes, it would run the animation that usually starts when items are added statically in XAML. I've tried several variations of MoveBy, PageLeft, PageLeft, etc. and calling BringDataItemIntoView, but i never get the desired result. Most of the time the items just appear or swirl around uncoherently.
Could there be some sort of workaround to make this work?

To wrap it up, i want the carousel to animate the items everytime i change the ItemsSource collection.
Any help would be greatly appreciated,
Thanks

Edit: My project is in WPF, of course :)

1 Answer, 1 is accepted

Sort by
0
Accepted
Maya
Telerik team
answered on 21 Jul 2010, 01:11 PM
Hi Sandi Markon,

Calling PageDown() or BringDataItemIntoView() has to do the trick. I am sending you a sample project illustrating the proposed solution. However, in case it is not meeting your exact requirements, please give us more details about your project and the settings of the RadCarousel. 


Sincerely yours,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Carousel
Asked by
Sandi Markon
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or