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

Custom DropPosition

2 Answers 32 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Veteran
Iron
Michael asked on 13 May 2013, 11:55 AM
Hy Telerik Team,

is it possible to implement my custom DropPosition?
I need a DropPosition "Replace"!

Thx Mike

2 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 13 May 2013, 02:52 PM
Hi Michael,

It all depends on the scenario you have. If you are using one of our controls that expose a drop position internally, you cannot change the default enumeration. If you however are using a custom scenario, you can customize the DropPosition to be anything you like. You can take a look at this example to see how you can pass the position on among the drag and drop events. 

Hope this helps! 

Kind regards,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Michael
Top achievements
Rank 1
Veteran
Iron
answered on 13 May 2013, 03:09 PM
Hi Nik!
Thx for the sample - that do the trick! ;)

I added my own DropPosition Enum in my custom scenario!

cheers mike!
Tags
DragAndDrop
Asked by
Michael
Top achievements
Rank 1
Veteran
Iron
Answers by
Nick
Telerik team
Michael
Top achievements
Rank 1
Veteran
Iron
Share this question
or