Since web service scenario is quite different conception from working with post-backs I would like to highlight a couple of things about implementing such functionality:
1. The entire logic from the code behind should be implemented on the client-side.
2. On the client side there is not event for canceling the inline/advanced form as the OnFromCreating
server-side event. Instead of cancelling you have to hide the form in the RadScheduler OnClientFormCreated
client-side event handler. In this help article
you can find the RadScheduler client-side object methods and properties. The RadScheduler hideInlineForm()
methods will be helpful in order to hide the insert/edit form and show the RadDock control.
3. In the OnClientFormCreated you can get the appointment object using the eventArgs.get_appointment() and populate the RadDock control based on the appointment object properties. Please find here
some more information about the RadScheduler OnClientFormCreated
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.