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

drag into scheduleview defualt size of appointment

1 Answer 21 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
guy
Top achievements
Rank 1
guy asked on 15 Oct 2012, 08:49 AM
Hi
when im draging from gridview to scheduleview the defualt size of appointment is 1h how can i change it to 30min
i attached a file

1 Answer, 1 is accepted

Sort by
0
Ventzi
Telerik team
answered on 16 Oct 2012, 02:41 PM
Hi Guy,

In order to change the duration of the dropped appointment you will need to override the ConvertDraggedData() method in the ScheduleViewDragDropBehavior.

We do not have a sample project with drag and drop functionality between GridView and ScheduleView but we have one between ListBox and ScheduleView controls. The approach used in that project is the same as the one you should use with GridView and ScheduleView.

We attached the project for you to take a look at. In it you will need to change the logic in the ConvertDraggedData() method in the ScheduleViewDragDropBehavior.cs file in order to make it work with GridView.

If you have any followup questions do not hesitate to contact us again.

Kind regards,
Ventzi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
guy
Top achievements
Rank 1
Answers by
Ventzi
Telerik team
Share this question
or