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

[Solved] Minimum for drag and drop

3 Answers 174 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Peter Zolja
Top achievements
Rank 1
Peter Zolja asked on 08 Jan 2008, 10:54 PM
Using IE7 and this code:

<telerik:RadTreeView ID="rtv" runat="server" Skin="Default" LoadingStatusPosition="BeforeNodeText" 
    EnableDragAndDrop="True" onnodedrop="rtv_NodeDrop">  
   <collapseanimation duration="100" type="OutQuint" /> 
   <expandanimation duration="100" type="OutQuart" />                     
</telerik:RadTreeView> 

When I try to start the drag I get the transparent node name, which indicates a drag is in process, but after about one second I get the crossed circle telling me I can't drag the node. Interestingly, if I let go of the mouse I still have the transparent node text following the mouse cursor -- even though I'm not holding down the mouse. The same code in FF2 works as expected. The same code (http://www.telerik.com/DEMOS/ASPNET/Prometheus/TreeView/Examples/Functionality/DragAndDropNodes/DefaultCS.aspx) also works with IE7. Any ideas?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Peter Zolja
Top achievements
Rank 1
answered on 08 Jan 2008, 11:51 PM

The actual problem is when the nodes have their NavigateUrl set to something; only then I get the issue. Here's how to reproduce:

<telerik:RadTreeView runat="Server" ID="rtv22" EnableDragAndDrop="true">  
  <Nodes> 
    <telerik:RadTreeNode Text="node1" NavigateUrl="~/somefile.aspx">  
      <Nodes> 
        <telerik:RadTreeNode Text="node 11" NavigateUrl="~/somefile.aspx"></telerik:RadTreeNode> 
        <telerik:RadTreeNode Text="node 12" NavigateUrl="~/somefile.aspx"></telerik:RadTreeNode> 
      </Nodes> 
    </telerik:RadTreeNode> 
    <telerik:RadTreeNode Text="node 2" NavigateUrl="~/somefile.aspx"></telerik:RadTreeNode> 
    <telerik:RadTreeNode Text="node 3" NavigateUrl="~/somefile.aspx"></telerik:RadTreeNode> 
  </Nodes> 
</telerik:RadTreeView> 

Please advise...
0
Nikolay
Telerik team
answered on 10 Jan 2008, 01:24 PM
Hello Peter Zolja,

We verified the problem. Our devs will be looking into finding a solution. The fix will be included in the SP1 release due on Monday. I hope this timeframe is acceptable for you.

Your Telerik points have been updated for your report.

Regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Peter Zolja
Top achievements
Rank 1
answered on 10 Jan 2008, 01:57 PM
Yes, thank you, and thanks for looking into this...
Tags
TreeView
Asked by
Peter Zolja
Top achievements
Rank 1
Answers by
Peter Zolja
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or