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

[Solved] Scheduler Service and Override of NewApptinment dialog

2 Answers 72 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
SolutionStream
Top achievements
Rank 1
SolutionStream asked on 11 May 2009, 03:02 PM
When using the Service for an MVC project, we are trying to override/disable the built in editors for create and edit appointment.  We have be able to override the edit dialog by setting OnClientAppointmentEditing="OnEdit" and implementing the following javascript: 

        function OnEdit(sender, eventArgs) {
            OpenEditor();
            eventArgs.set_cancel(true);
        }

But, we have not been able to do the same for the new appointment.  It seems that all the current events (OnClientFormCreated,  OnAppointmentInsert, OnClientAppointmentInserting, OnFormCreating) are called after the fact instead of before the built in editors are created and displayed.  Are we missing something? Can this be done with the service or is there a better way to accomplish what we are looking for?

2 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 12 May 2009, 09:46 AM
Hello Kier,

Please, set StartInsertingInAdvancedForm="true" and handle OnClientAppointmentInserting.


Greetings,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
SolutionStream
Top achievements
Rank 1
answered on 13 May 2009, 05:34 PM
That did it!  Thanks
Tags
Scheduler
Asked by
SolutionStream
Top achievements
Rank 1
Answers by
Peter
Telerik team
SolutionStream
Top achievements
Rank 1
Share this question
or