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

RadItemsControl could not be found

3 Answers 115 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Quang Khải
Top achievements
Rank 1
Quang Khải asked on 15 Dec 2015, 08:44 AM

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.

 

3 Answers, 1 is accepted

Sort by
0
Quang Khải
Top achievements
Rank 1
answered on 16 Dec 2015, 10:01 AM
Please help me ^^
0
Stefan
Telerik team
answered on 17 Dec 2015, 11:57 AM
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
0
Quang Khải
Top achievements
Rank 1
answered on 23 Dec 2015, 09:02 AM

Hi Stefan,

 Thanks for your support.

Tags
GridView
Asked by
Quang Khải
Top achievements
Rank 1
Answers by
Quang Khải
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or