
Normally the options you get is
Edit the whole series
or
Edit just this one appointment.
What i'm looking for is a third option that goes something like
Edit the series starting from here
Which would bascially split the series up into two, leaving everything behind the selected appointment unchanged, but changes ever appointment thereafter. So that if your standing weekly wednsday appointment suddenly gets moved to a thursday after a few months, u can simply just edit the series u already have by this option, instead of cutting one out to start a new equal.
Thanks
7 Answers, 1 is accepted
One way to achieve this is to cancel the OnClientRecurrenceActionDialogShowing client event of RadScheduler and implement your custom pop up showing instead of the inbuilt one.
Hope this will be helpful.
Plamen
the Telerik team


You can use the set_cancel method as shown below.
JS:
function
OnClientRecurrenceActionDialogShowing (sender,eventArgs)
{
evenrArgs.set_cancel() (
true
);
}
Thanks,
Princy.

Unfortunately there is not such isolated code of the Modal Pop up so I would recommend you to use the client events and show our RadWindow in a similar way as it is used in this demo.
Plamen
the Telerik team

I figured out the new window part..
However I now want to send some kind of paramter to Advanced Form so I know how to handle this third option..
But I can't get my attributes so stick..
function
OnClientRecurrenceActionDialogShowing(sender, eventArgs) {
OpenEditSeries(eventArgs.get_appointment());
eventArgs.set_cancel(
true
);
}
function
OnClientClose(oWnd, args) {
//get the transferred arguments
var
arg = args.get_argument();
if
(arg) {
var
apt = arg.apt;
if
(arg.selection == 1) {
getRadScheduler().showAdvancedEditForm(apt,
false
);
}
if
(arg.selection == 2) {
getRadScheduler().showAdvancedEditForm(apt,
true
);
}
//third new option
if
(arg.selection == 3) {
apt.get_attributes().setAttribute(
"anders"
,
"andersherp"
);
alert(apt.get_attributes().getAttribute(
"anders"
));
getRadScheduler().showAdvancedEditForm(apt,
true
);
}
}
}
so i'm trying to add a attribute to my apt object.
However..
When population..
populate:
function
(apt, isInsert) {
if
(!
this
._clientMode) {
this
._initializeClientMode();
}
$find(
this
._templateId +
"_tabstrip"
).set_selectedIndex(0);
var
aptStarttime = apt.get_start();
var
aptEndtime = apt.get_end();
alert(apt.get_attributes().getAttribute(
"anders"
));
My attribute is gone :/
is there any way to send parameters or attributes to the advanced edit form?
This behavior is expected because as it explained in this help topic all the other setters (besides set_subject(), set_start() and set_end()) can update the appointment only in case of WebService binding where there is no postback and the onClientAppointmentDataBound is fired.
One possible solution for your case that I could think of it to set parameters to different fields in the Advanced form in the OnClientFormCreated event as it is shown in this help topic.
Hope this will explain the issue and be helpful.
Plamen
the Telerik team