Carousel rotation

7 posts, 0 answers
  1. Todd
    Todd avatar
    13 posts
    Member since:
    Dec 2007

    Posted 22 Sep 2008 Link to this post

    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.
  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 24 Sep 2008 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Todd
    Todd avatar
    13 posts
    Member since:
    Dec 2007

    Posted 24 Sep 2008 Link to this post

    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.
  5. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 25 Sep 2008 Link to this post

    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.
  6. Todd
    Todd avatar
    13 posts
    Member since:
    Dec 2007

    Posted 27 Sep 2008 Link to this post

    Telerik Team,

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

    Todd Kueny
  7. Soul
    Soul avatar
    5 posts
    Member since:
    Apr 2009

    Posted 26 Apr 2009 Link to this post

    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!
  8. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 27 Apr 2009 Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready