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

Carousel Control Question

6 Answers 165 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 13 Nov 2007, 09:54 PM
I am looking at purchasing the Telerik Winfroms controls. I noticed that the what's new (http://www.telerik.com/products/winforms/whats-new.aspx) page listed a carousel component. However, I could not find this control in the suite. Is this a new control or was the page just explaining that this component is part of the Quick Start application only?

Robert

6 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 14 Nov 2007, 12:27 PM
Hi Robert,

Thank you for writing.

The Carousel view is basically done as a standalone control that we developed for a particular case. Still, it can be easily modified the way you would need it. It is located in the RadCarousel folder in the Example Framework. The Example Framework MainForm is actually only adding some items to the control and shows/hides it when necessary.

We have uploaded this version of our example framework on our website. We have uploaded the files on the public Code Library on telerik.com, as we did with the previous version (QuickStart.dll). However, we are sending you the code with this message, with no changes.

Let us know if we can help you any further.

Sincerely yours,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Robert
Top achievements
Rank 1
answered on 14 Nov 2007, 02:16 PM
Thank you Peter. This is VERY good service.
0
George Georgiou
Top achievements
Rank 1
answered on 04 Dec 2007, 04:35 PM
Hello,
I have gone quite deeply into the carousel example, but i am puzzled about clicking an item. If the item is at background, clicking on it brings it at the front, which is ok. If however is at the front, if you click on it, it makes a transition and tries to load something, again ok, How do i put my own code in these events. How do I separate that the item that was clicked was at the front or at the back?


Thanks a lot, and keep up the great work!
0
Peter
Telerik team
answered on 05 Dec 2007, 06:01 PM
Hi George,

Thank you for your interest in our controls.

The RadCarouselElement has the following RaiseSelectedItemClecked method that is invoked when the user clicks on a RadCarouselItem. This method simply fires the ExampleStart event.

There are two ways to implement your logic: 1) you can put your code in the RaiseSelectedItemClecked method, or 2) you can subscribe to the ExampleStart event:

this.examplesCarousel.CarouselElement.ExampleStart += new RadCarouselElement.ExampleStartEventHandler( CarouselElement_ExampleStart );

This event is fired only when the user clicks on front carousel item.

We are moving the items in OnBubbleEvent in the RadCarouselElement class - this function changes the SelectedIndex properties that actually run the animation.

I am attaching a project that demonstrates which front item is clicked.

Hope that helps.

 
All the best,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Cesaruco
Top achievements
Rank 1
answered on 05 Jan 2008, 02:40 PM
Excellent, but I understand very well but not C # I could please help implement this solution in Visual Basic. Thanks
0
Peter
Telerik team
answered on 07 Jan 2008, 08:55 AM
Hi Cesaruco,

Thank you for writing.

I am sending you the same project converted to VB. I hope that helps.

Please contact us again, if you have additional questions.

Best wishes,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Robert
Top achievements
Rank 1
Answers by
Peter
Telerik team
Robert
Top achievements
Rank 1
George Georgiou
Top achievements
Rank 1
Cesaruco
Top achievements
Rank 1
Share this question
or