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

Custom Edit Form with recurrence support

3 Answers 61 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Content and Code
Top achievements
Rank 1
Content and Code asked on 14 Feb 2012, 07:06 PM
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?


3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 15 Feb 2012, 02:40 PM
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 >>
0
Content and Code
Top achievements
Rank 1
answered on 16 Feb 2012, 11:54 PM
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?
0
Plamen
Telerik team
answered on 21 Feb 2012, 11:04 AM
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 >>
Tags
Scheduler
Asked by
Content and Code
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Content and Code
Top achievements
Rank 1
Share this question
or