Support for Item Selection

3 posts, 0 answers
  1. Mark
    Mark avatar
    12 posts
    Member since:
    Jun 2009

    Posted 23 Jun 2009 Link to this post

    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. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 26 Jun 2009 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Mark
    Mark avatar
    12 posts
    Member since:
    Jun 2009

    Posted 26 Jun 2009 Link to this post

    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.

Back to Top