Custom Edit Form with recurrence support

4 posts, 0 answers
  1. Content and Code
    Content and Code avatar
    26 posts
    Member since:
    Oct 2004

    Posted 14 Feb 2012 Link to this post

    Hi,

    I bind my scheduler control to a completely custom object. The custom object contains a lot of additional fields in adition to the standard appointment fields.

    I subscribe to the OnClientAppointmentEditing event to load my custom edit form. In here I load all the details and allow the user to edit them. I have noticed that in the standard advanced form if you edit an appointment which has a recurrence rule then it loads up a popup asking the user whether they want to edit the series or just this instance.

    In my case I am also getting this prompt and once I select one of the options it loads up my custom edit form. However I am not sure on how to handle the recurrence. For example how do I know in my custom form what the user selected in response to the previous prompt? i.e. whether they selected to edit the series or selected to edit just that instance?

    Then in my edit form how do I handle each of this scenario?


  2. Plamen
    Admin
    Plamen avatar
    3079 posts

    Posted 15 Feb 2012 Link to this post

    Hello,

     
    You can refer to the External Edit in RadDock demo where similar functionality is explained.

    Hope this will be helpful.

    Greetings,
    Plamen Zdravkov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. Content and Code
    Content and Code avatar
    26 posts
    Member since:
    Oct 2004

    Posted 16 Feb 2012 Link to this post

    Hi Plamen,

    Thanks for your help but I prefer to use the popup approach as I have a really complex form.

    Is there not any way I can pass to my popup window whether the user selected to edit the series or just this instance?
  4. Plamen
    Admin
    Plamen avatar
    3079 posts

    Posted 21 Feb 2012 Link to this post

    Hi,

     
    You can use the OnClientRecurrenceActionDialogClosed event and check the get_editSeries() 
     property.

    Hope this will help you.

    Kind regards,
    Plamen Zdravkov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top