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

Word 2010 Add-In - Drag and Drop between node doesn't work

1 Answer 47 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 05 Nov 2012, 10:20 PM
Hi,

If i create a wpf project using the following xaml definition, i'm able to move the "Soccer" treeviewitem before the "futsal" element. When I start draging my element, i can see the option that allow me to insert the item before the previous element.

        <telerik:RadTreeView x:Name="radTreeView" Grid.Row="2" IsDragDropEnabled="True"
                             IsDropPreviewLineEnabled="True">
            <telerik:RadTreeViewItem Header="Sport Categories">
                <telerik:RadTreeViewItem Header="Football">
                    <telerik:RadTreeViewItem Header="Futsal" />
                    <telerik:RadTreeViewItem Header="Soccer" />
                </telerik:RadTreeViewItem>
            </telerik:RadTreeViewItem>
        </telerik:RadTreeView>

If I take the previous control, and I add it in a word 2010 add-in,the option is not available. It doesn't matter where i put my mouse, the "before" or "option" command never show up. I can only insert item inside other item.

Any Ideas why i'm having this behavior? I will try to attach a sample project showing this behavior.

Best Regards,

P.S. It's seem there an issue ID associate with this problem: 1299 - TreeView: Built-in drag and drop does not work in ElementHost. Have you any workaround to suggest me to solve this behavior? 

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 06 Nov 2012, 03:42 PM
Hello Patrick,

This is a known issue (as you have discovered) and it is already logged as a bug in out PITS. You can vote for it to increase it's priority.

Unfortunately we are not aware of any workarounds at this moment.

Regards,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
TreeView
Asked by
Patrick
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or