Rad Dock with Web Service Data Data binding

2 posts, 0 answers
  1. Yi
    Yi avatar
    1 posts
    Member since:
    Oct 2012

    Posted 10 Jul 2014 Link to this post

    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,

    but it didn't work.

    Thanks for your help
  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    1728 posts

    Posted 15 Jul 2014 Link to this post

    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.

    Boyan Dimitrov

    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.

  3. Telerik UI for ASP.NET Core is out
Back to Top