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

How to create the drag effect in the carousel

1 Answer 61 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
John Emmatty
Top achievements
Rank 1
John Emmatty asked on 29 Apr 2010, 12:02 PM
Hi,
I need to drag/click(without using navigation arrows) on an item so that it will become active item. I also need to hide the default navigation arrows comes with the carousel.


Please tell me how to achieve this.


Thanks,
John.

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 03 May 2010, 12:09 PM
Hi John Emmatty,

You can easily hide the navigations buttons by using two properties:

<telerik:RadCarousel Name="RadCarousel1" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden">

By default, when you click on an item will automatically be moved to the center of the path. 

In regard to the drag functionality it would be great if you can share more details about this requirement. If your idea is to be able to control the movement of the carousel by holding down the left mouse button over an item and dragging the mouse it might be a little bit difficult to implement at the moment since the carousel will automatically move the carousel on mouse down.


Greetings,
Milan
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
John Emmatty
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or