Appoitment Drop Event?

2 posts, 0 answers
  1. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 31 Oct 2013 Link to this post

    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
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 04 Nov 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top