How do I replace/turn off the recurrence edit pop up window?
I would like to replace it with an alert window that says: "Editing a recurrence type appointment is not supported at this time".
I can use OnAppointmentDoubleClick client api event, but how do I check if the appointment is a recurrence type or not?
Thanks!
I would like to replace it with an alert window that says: "Editing a recurrence type appointment is not supported at this time".
I can use OnAppointmentDoubleClick client api event, but how do I check if the appointment is a recurrence type or not?
Thanks!
5 Answers, 1 is accepted
0
Yamil
Top achievements
Rank 1
answered on 13 Jun 2008, 06:46 PM
I think you can use the FindControl() method to get information about the checkbox in the edit appointment dialog (see http://www.telerik.com/help/aspnet-ajax/schedule_advancedformtemplate.html) or you can replace this dialog with your own (see sample http://www.telerik.com/DEMOS/ASPNET/Prometheus/Scheduler/Examples/RadWindow/DefaultCS.aspx)
0
HHalim
Top achievements
Rank 2
answered on 13 Jun 2008, 07:04 PM
Thanks for the reply, but that's not what my question is.
This is about the built in pop-up window for recurring type appointment. When a user double clicks on the recurring type appointment, a built in pop-up confirmation window will appear. Well, I need to turn this off for now, since I can not use the recurrence option on the advanced edit using radwindow.
This is about the built in pop-up window for recurring type appointment. When a user double clicks on the recurring type appointment, a built in pop-up confirmation window will appear. Well, I need to turn this off for now, since I can not use the recurrence option on the advanced edit using radwindow.
0
Yamil
Top achievements
Rank 1
answered on 13 Jun 2008, 08:11 PM
Ooops Sorry I did not understand your question...
Do you test to create the OnClientAppointmentDoubleClick event ?
You receive the appointment as parameter so you can check if it is recurrence and take the appropiate way to handle
Do you test to create the OnClientAppointmentDoubleClick event ?
You receive the appointment as parameter so you can check if it is recurrence and take the appropiate way to handle
0
HHalim
Top achievements
Rank 2
answered on 13 Jun 2008, 10:04 PM
Yamil, please do not respond to a thread if you don't know exactly what the solution is. Also, there is a big difference between client api and server api.
Anyway, I finally figured this out, need to read the document better, I used the OnClientRecurrenceActionDialogShowing event:
Anyway, I finally figured this out, need to read the document better, I used the OnClientRecurrenceActionDialogShowing event:
| function OnClientRecurrenceActionDialogShowing(sender, eventArgs) |
| { |
| eventArgs.set_cancel(true); |
| radalert('Editing recurring appointment is not supported.', 320, 100); |
| } |
0
Yamil
Top achievements
Rank 1
answered on 14 Jun 2008, 04:57 PM
Well, I just trying to help you but it is good you can figure out by yourself and teach me another trick...