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

Radscheduler and web service binding

3 Answers 86 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Prava kafle
Top achievements
Rank 1
Prava kafle asked on 15 Aug 2013, 06:22 PM
Hi,

I would like to bind Radscheduler with a web service, will I loose any functionality on doing so?
Currently I am using following following functionality:

1. Drag and drop to reschedule appointments
2. Timer to refresh scheduler 
3. Button to refresh scheduler
4. Double click an appointment to edit it
5. Right click an appointment to open context menu
6.Drag and drop from grid to scheduler to create an appointment
7. Colour appointment by appointment type/other properties
8. Recurring appointments
9. Delete an appointment


Thanks,
Prava

3 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 16 Aug 2013, 02:50 PM
Hello,

Thank you for contacting Telerik Support.

I would like to clarify that all of the listed functionalities are available with web service binding. Please note some changes to your code logic might be required due to the transition from server-side to web service binding. In order to help and save you some time I would like to provide some of our demos that I think it will be very helpful:
  • RadScheduler populated via web service, rebinding (refreshing) when you check/uncheck the resources on the left side, and color the appointments based on an attribute - demo
  • Creating appointments by drag and drop on the client-side - demo.
Hope that this will be helpful.

Regards,
Boyan Dimitrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Prava kafle
Top achievements
Rank 1
answered on 20 Aug 2013, 02:10 PM
Hi Boyan,

I am also adding custom attributes to appointment, how do I attach custom attributes to web service bound scheduler?
Do you have any sample code where scheduler is bound to ASP.NET Web Service.

  protected void TicketsSchedule_AppointmentDataBound(object sender, SchedulerEventArgs e)
    {
        try
        {
           ....................
            e.Appointment.Attributes["MasterTaskID"] = row["MasterTaskID"].ToString();
            e.Appointment.Attributes["SubTaskID"] = row["SubTaskID"].ToString();
            e.Appointment.Attributes["NextTaskID"] = row["NextTaskID"].ToString();
     ...................................

Thanks,
Prava
0
Plamen
Telerik team
answered on 22 Aug 2013, 08:41 AM
Hello Prava,

 
In the Web Service binding the AppiontmentDataBound event is not thrown and if you want to display the Custom Attribute you have to use jQuery template as it is done in this on-line demo.

Hope this information will be helpful.

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Scheduler
Asked by
Prava kafle
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Prava kafle
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or