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

Carousel rotation

6 Answers 192 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Todd
Top achievements
Rank 1
Todd asked on 22 Sep 2008, 07:36 PM
Was wondering if some could help me with the rotation of the carousel?
What I need to do is rotate the items in a straight line. 
Sort of like the examples thing with the music album except no angle(<--------->).

Thank you,

Todd Kueny.

6 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 24 Sep 2008, 07:44 AM
Hello Todd,

Thank you for contacting us.

To do this you should implement custom Carousel Path. Please, refer the attached sample project how to do this.

We will try to include more information in the help manual on custom carousel paths in order to help other people achieve this case.

Don't hesitate to contact us if you have other questions.


Best wishes,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Todd
Top achievements
Rank 1
answered on 24 Sep 2008, 08:36 PM
Telerik Team,

The sample application that was posted was not exactly what I needed.
That shows a diagonal rotation. Please post one like that but from left to right.

Thank you.
0
Peter
Telerik team
answered on 25 Sep 2008, 01:41 PM
Hello Todd,

Thank you for getting back to me.

The project that I sent was a sample of how to implement any custom path with user-defined points.To get rotation from left to right and back, you simply should create points with the same X and Z coordinates, but with different Y-axis.

See the code below how to do this:

public MyPath()//the MyPath constructor 
points[0]=new Point3D(50, 0,  0) ;//X is 50, Y is 0 and Z is 0 
points[1]=new Point3D(50, 10,0) ; 
points[2]=new Point3D(50, 20,0) ; 
... 
points[9]=new Point3D(50, 100,0) ; 


Hope this helps.

All the best,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Todd
Top achievements
Rank 1
answered on 28 Sep 2008, 04:07 AM
Telerik Team,

Thank you very much, that helped me out and solved my problem.

Todd Kueny
0
Soul
Top achievements
Rank 1
answered on 26 Apr 2009, 08:10 PM
Hey Guys,

I checked out the project attached to the thread -
My question is - how do I let the items animate nicely when they move? It seems currently they 'snap in' to their new places

Thanks!
0
Peter
Telerik team
answered on 27 Apr 2009, 11:12 AM
Hi Soul,

Thank you for writing. This issue comes from the implementation of the custom CarouselPath. I removed the custom path (please refer to the attached project) and now all items are moving smoothly on the default bezier path.

Hope this helps. Do not hesitate to write me back if you have further questions.

Sincerely yours,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Carousel
Asked by
Todd
Top achievements
Rank 1
Answers by
Peter
Telerik team
Todd
Top achievements
Rank 1
Soul
Top achievements
Rank 1
Share this question
or