DraggedNodes object is null

4 posts, 0 answers
  1. Mohsen
    Mohsen avatar
    9 posts
    Member since:
    Dec 2011

    Posted 07 Nov 2012 Link to this post

    Hi,
    I have a TreeView and RadGrid width drag and drop functionality (drag from TreeView  and drop to RadGird). To Detect which node is dropped on RadGrid, I have added a nodeDrop handler to TreeView. So When i drop a node on RadGrid, nodeDrop handler fires, but SourceDragNode and DraggedNodes of RadTreeNodeDragDropEventArgs  parameter are null. This happens just when I move TreeView and RadGrid to an UserControl.
    What things may cause this issue?

    I have checked my post data at client side, an it seems OK (dropped node index has correct value ).

    any idea is appreciated.
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 12 Nov 2012 Link to this post

    Hello Mohsen,

    Do you use any client-side code while dropping?

    I inspected the described scenario but I am afraid that this is not known issue. I would recommend you to isolate your project to one RadTreeView on your page and inspect its behavior in onNodeDrop handler. 

    Could you please clarify whether this unusual behavior is reproduced by using one or more than one instance of your user control? 


    Regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mohsen
    Mohsen avatar
    9 posts
    Member since:
    Dec 2011

    Posted 12 Nov 2012 Link to this post

    Hello Boyan,
    Yes, your are right. I had a MultiView control on the page and it causes this issue. When onNodeDrop handler was calling, the RadTreeView containing View was inactive.

    Tanks for your reply. 
  5. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 14 Nov 2012 Link to this post

    Hello Mohsen,

    Would you please elaborate a little bit the scenario because it is not quite clear form the provided so far information?

    Regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top