DragEnding event

6 posts, 0 answers
  1. liviu
    liviu avatar
    14 posts
    Member since:
    Mar 2007

    Posted 16 Aug 2007 Link to this post

    Hi.

    I have a treeview and I need to impose more restrictions on the drag and drop action. For example, if the node and the target node are at different levels I cancel the drag and drop action using the DragEnding event.

    But I need more. I have to know where the node is going to be dropped onto the target node( above, below, within). The node cann't become a child node for the target node.

    Can I find out this within the DragEnding event?

    Thanks.
  2. Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 16 Aug 2007 Link to this post

    Hi liviu,

    The DragEnding event of RadTreeView does not currently provide information about the direction, however this feature will appear in our Q2 release next month. We can send you the beta version of Q2 in about 2 weeks, in case you would like to precipitate in the beta program. Simply drop us a line and we will add your name to the beta list.

     
    Regards,
    Jordan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. liviu
    liviu avatar
    14 posts
    Member since:
    Mar 2007

    Posted 17 Aug 2007 Link to this post

    Yes, I would like to receive the beta version of Q2.

    Thank you.
  5. Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 20 Aug 2007 Link to this post

    Hi liviu,

    We will notify you as soon as Q2 beta bits are available.

     
    Greetings,
    Jordan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Chitra
    Chitra avatar
    1 posts
    Member since:
    May 2011

    Posted 15 Feb 2012 Link to this post

    I was wondering how this issue was resolved.. I also need to know where the node is going to be dropped onto the target node( above, below, within).  I am using version 2011.1.11.419 and  in the DragEnding event, usage of .Direction shows as deprecated and actually does not return the desired result... An early response will be much appreciated.. (like you care to receive my appreciation?? but it would be a big help on my end!!)
  7. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 20 Feb 2012 Link to this post

    Hello Chitra,

    Thank you for writing.

    Unfortunately, the version of Winforms controls you are using does not provide information about the precise drop position. In all newer versions you will be able to find a DropPosition property of the DragEnding EventArgs. I highly recommend using our latest version, since it contains a number of improvements and new features.

    Let me know if you have further questions.

    Greetings,
    Boryana
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top
UI for WinForms is Visual Studio 2017 Ready