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

Rad Dock with Web Service Data Data binding

1 Answer 4 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Yi
Top achievements
Rank 1
Yi asked on 10 Jul 2014, 04:02 PM
I'm using Web Service binding for my scheduler control and would like to use Rad dock als  an external form for insert and edit appointment? How can I do it? I tried "Scheduler - External Edit in RadDock" shown in the demo,
http://demos.telerik.com/aspnet-ajax/scheduler/examples/raddock/defaultcs.aspx

but it didn't work.

Thanks for your help
Yi

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 15 Jul 2014, 03:31 PM
Hello Yi,

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() or  hideAdvancedForm()  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 event arguments.


Regards,
Boyan Dimitrov
Telerik
 

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.

 
Tags
Scheduler
Asked by
Yi
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or