RadItemsControl could not be found

4 posts, 0 answers
  1. Jacky
    Jacky avatar
    10 posts
    Member since:
    Dec 2015

    Posted 15 Dec 2015 Link to this post

    Hi all,

      I implement row drag drop function, I got a demo source code in somewhere forum(), the problem is:

    In demo source code, Telerik tersion is 2009.1.526.35, below code works OK

    private void RowMouseMove(object sender, MouseEventArgs e)
    {
    //Some code
    RadItemsControl itemsControl = this.gridView.ItemsControl;
    this.currentDropIndex = itemsControl.Records.IndexOf(row.Record);
    //Some code
    }

    But currently my solution uses a newer Telerik version, 2014.1.331.40, RadItemsControl could not be found. 

    How can I find the similar control to replace the old one? Or any idea to get current drop index here?

     Thanks.

     

  2. Jacky
    Jacky avatar
    10 posts
    Member since:
    Dec 2015

    Posted 16 Dec 2015 in reply to Jacky Link to this post

    Please help me ^^
  3. UI for WPF is Visual Studio 2017 Ready
  4. Stefan X1
    Admin
    Stefan X1 avatar
    514 posts

    Posted 17 Dec 2015 Link to this post

    Hi Jacky,

    I am afraid that even the 2014.1.331 version is a bit outdated, as the DragDropManager has been rebuilt from scratch since then. I recommend you updating to the latest version and check out the Reorder Rows online demo, as well the Drag and Drop within RadGridView topic and its relevant SDK Example.

    I hope you find the provided resources useful.

    Regards,
    Stefan X1
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  5. Jacky
    Jacky avatar
    10 posts
    Member since:
    Dec 2015

    Posted 23 Dec 2015 in reply to Stefan X1 Link to this post

    Hi Stefan,

     Thanks for your support.

Back to Top