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

Appoitment Drop Event?

1 Answer 9 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 31 Oct 2013, 12:58 PM
Hi,

i use the radschduleview like this:
<scheduleView:RadScheduleView
           AppointmentsSource="{Binding Appointments}" Margin="10"
           ResourceTypesSource="{Binding ResourceTypes}"
           telerik:StyleManager.Theme="Windows7"
           TimeMarkersSource="{Binding TimeMarkers}"
           CategoriesSource="{Binding Categories}"
           x:Name="MyScheduleView"
           GroupHeaderContentTemplateSelector="{StaticResource   GroupHeaderContentTemplateSelector}"
           FirstDayOfWeek="Monday"
           FirstVisibleTime="6:0:0"
           ActiveViewDefinitionIndex="1"                                               
           DialogClosing="MyScheduleView_DialogClosing"
           SpecialSlotsSource="{Binding SpecialSlots}"                                                  
           SpecialSlotStyleSelector="{StaticResource SpecialSlotStyleSelector}"
           ToolTipTemplate="{StaticResource AppointmentToolTipTemplate}"
           Drop="MyScheduleView_Drop">

I want to fire a function to save the new date of the appointment in a database. But how to i fire this function on Drop?

Thanks
Regards

Rene

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 04 Nov 2013, 12:31 PM
Hi Rene,

I can suggest that you use a custom DragDropBehavior in order to implement desired logic on Drop. You can easily do that by overriding the Drop method of the custom DragDropBehavior. For more information please check the following article from our online help documentation:
http://www.telerik.com/help/wpf/radscheduleview-features-draganddrop.html

Hope this helps.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ScheduleView
Asked by
ITA
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or