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

On drag and drop trigger form creating

1 Answer 27 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
AName
Top achievements
Rank 1
AName asked on 09 Apr 2014, 03:26 PM
Hello,

We are using a radscheduler and allow users to drag and drop appointments.  This triggers the server side OnAppointmentUpdate method just fine.

Protected Sub RadScheduler1_OnAppointmentUpdate(ByVal sender As Object, ByVal e As AppointmentUpdateEventArgs) Handles RadScheduler1.AppointmentUpdate

We currently update the modified date and move on. 
However we now need to display the form we use to add or edit an appointment. 

We currently are using the two methods on new or double click edit. 
Protected Sub RadScheduler1_FormCreating(ByVal sender As Object, ByVal e As SchedulerFormCreatingEventArgs)
Protected Sub RadScheduler1_FormCreated(ByVal sender As Object, ByVal e As SchedulerFormCreatedEventArgs) Handles RadScheduler1.FormCreated

This ideally would occur server side and we use VB.

From our OnAppointmentUpdate method can I either trigger the FormCreating method or do I need to call an intermediary method first.

Thank you


1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 11 Apr 2014, 11:33 AM
Hi AName,

One possible way to achieve such scenario is to handle OnClientAppointmenMoveEnd , cancel it and trigger the advanced form as it is done in the code of this on-line demo.

Hope this information will be helpful.

Regards,
Plamen
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Scheduler
Asked by
AName
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or