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

Support for Item Selection

2 Answers 54 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 23 Jun 2009, 04:17 PM
Hello,

I have a very simply implementation that embeds a radCarousel control on a grid and databinds the ItemSource to an Observable collection.  The only way that I am able to select items is by clicking on the "scroll bar" buttons at the bottom of the control.  I was under the impression that I should also be able to click on an item in the list as well to bring it to the front as the selected item.  From the demos it appears that nothing special is required to support this functionality - am I missing something?

Thanks,
Mark.

2 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 26 Jun 2009, 01:25 PM
Hi Mark,

You should be able to select items by clicking on them unless there is some elements on the items that handles mouse event. For example, if you have a button inside a carousel item and you click on the button the item will not be selected.

Could you share with us the xaml code of your project so that we can try to reproduce your problem? 

Regards,
Milan
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.
0
Mark
Top achievements
Rank 1
answered on 26 Jun 2009, 02:36 PM
Hi MIlan,

Thank-you for your reply.  I meant to post a reponse earlier as I discovered what was causing my problem. 

It turns out that the object type to which the items were bound had a propery that was another object type. I was also using AutoGenerateDataPresenters = true, but I think it was getting confused as to what to do with this property that was another object.  Once I commented out this property everything worked fine.  I was able then to customize the items (using a ControlTemplat) to display only the properties that were required. 

Thanks again for your help,
Mark.

Tags
Carousel
Asked by
Mark
Top achievements
Rank 1
Answers by
Milan
Telerik team
Mark
Top achievements
Rank 1
Share this question
or