Drag and Drop from Coverflow

5 posts, 1 answers
  1. Mike Lee
    Mike Lee avatar
    11 posts
    Member since:
    Jan 2010

    Posted 04 Mar 2010 Link to this post

    Hi, I am trying to drag a coverflow item from the coverflow list.  I am successful, but only after the coverflow item has been selected first.  So this is what currently happens:  I try to drag an item that is currently not selected.  That item flows to the middle, and is now selected.  Only when this item is selected(and centered), that I can start dragging it.  Is it possible to start dragging a coverflow item, even if it's not selected yet?  Here's a sample code of my coverflow item template:

                <telerikNavigation:RadCoverFlow.ItemTemplate> 
                    <DataTemplate> 
                        <gadgets:DraggableGadget Height="110" Width="150"
                            <i:Interaction.Behaviors> 
                                <qab:TelerikDragAndDrop AllowDrag="True" /> 
                            </i:Interaction.Behaviors> 
                        </gadgets:DraggableGadget> 
                    </DataTemplate> 
                </telerikNavigation:RadCoverFlow.ItemTemplate> 

    Thanks for your help!

    Mike
    http://www.eikospartners.com

  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 05 Mar 2010 Link to this post

    Hi Mike,

     This happens, because we change the IsHitTestVisible property of the items that are not selected. What you need to do is to edit the control template of the RadCoverFlowItem and edit the states. The attached project demonstrates how this could be achieved.

    Sincerely yours,
    Miroslav Nedyalkov
    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.
  3. DevCraft banner
  4. Mike Lee
    Mike Lee avatar
    11 posts
    Member since:
    Jan 2010

    Posted 08 Mar 2010 Link to this post

    Hi Miroslav,

    The project you attached doesn't seem to be related to my problem.  Can you attach the template for the RadCoverFlowItem? Also, where can I find the template for RadCoverFlow?  I usually look in the Themes folder from the Telerik install.  I've also noticed that the OfficeBlack theme is not there.  Where would I find all these templates if I needed to modify any of them?  Thanks!

    Mike
    http://www.eikospartners.com
  5. Answer
    Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 08 Mar 2010 Link to this post

    Hello Mike,

     I'm sorry, I attached wrong project. I apologize for the caused inconvenience.  Please find the new attached file.

    The easiest way to find the templates is to use Expression Blend - drag the control which template you need to modify, right-click it and choose "Edit Template"/"Edit a copy".

    You could also find them in the themes (as you mentioned).

    Greetings,
    Miroslav Nedyalkov
    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.
  6. Mike Lee
    Mike Lee avatar
    11 posts
    Member since:
    Jan 2010

    Posted 08 Mar 2010 Link to this post

    This solution worked perfectly.  Thanks so much!

    Mike
    http://www.eikospartners.com
Back to Top
DevCraft banner