On drag and drop trigger form creating

2 posts, 0 answers
  1. AName
    AName avatar
    13 posts
    Member since:
    Jul 2013

    Posted 09 Apr 2014 Link to this post

    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


  2. Plamen
    Admin
    Plamen avatar
    2734 posts

    Posted 11 Apr 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top