Panel not Selected when Using UserControls

2 posts, 0 answers
  1. Michael
    Michael avatar
    1 posts
    Member since:
    May 2012

    Posted 02 May 2012 Link to this post


    I'm using RadCoverflow for one of my project.  Inside the Coverflow, I'm referencing Usercontrols that I created.  The coverflow and the usercontrols are rendering properly.  However I lost the ability to select the coverflow panel if I am clicking from inside the area of the usercontrol. 

    For example, inside the usercontrol is a RadGridView.  When I click inside the area of the RadGridview, the gridview item is selected.  But the coverflow panel is not transitioning to the center (or not being selected.)

    Any thoughts how I can fix this issue?

  2. Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 21 May 2012 Link to this post

    Hi Michael,

    If I understand your question correctly, you have a RadCoverFlow and a RadGridView in a usercontrol on the same page. When you select an item in the RadGridView, you want the same item centered in the RadCoverFlow? If this is not your question, please give me a little more detail as to what you are selecting and what you want to happen.

    There are a couple ways to address this. You can assign the SelectedItem property of the control that is currently in focus to the control that is not in focus. Use the SelectionChanged event to center the RadCoverFlow on the item you want and vice-versa.

    You can sync the controls by using the selectedIndex or, if you have implemented MVVM in your project, filter the other control using an item in your ViewModel.

    In summary, use an event handler on your current control to alter the other control's position. If you'd like more help, add some specific detail in a reply here or submit a ticket. (Drop down your Username at the top of this page, select "Support Tickets" from the list and then choose "Contact Support Team.)

    Thank you for using RadControls,
Back to Top