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

RadScheduler and WebService Binding(MVC)

3 Answers 106 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Carlos Souto
Top achievements
Rank 1
Carlos Souto asked on 15 Jul 2009, 01:06 PM
Hi!

We have implemented a custom solution with the RadScheduler with WebService(and a DbSchedulerProvider) binding using the online demos.

I have one question: after the Appointment save process the GetAppointments method is re-called and it calls the LoadResources(Apppointment apt) method.

What should this method return? All the Scheduler Resources or just the Appointment resources?

It all seems fine until we try to edit/update the Appoinment as the Resources doesnt show up with the selected resources(in DropDownLists). We are only returning the Appointment resource collection.

Best regards

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Jul 2009, 02:42 PM
Hello Carlos,

The LoadResources() method does not return anything. It assosiates the appointment with its resources.

There shouldn't be problems when editing an appointment. The resources should display as expected when opening the advanced edit form. I have attached a demo web site for reference.



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
Software Development
Top achievements
Rank 1
answered on 17 Jun 2011, 02:57 PM
Hi Peter,

I have implemented same functionality(Webservice Binding MVC) as the your attached demo. In my example i have appointments against Rooms(Resources). Appointments are displayed on the scheduler but Resources are not displayed . For example in the TimeLine view i want resources on left for which i have set GroupingDirection="Vertical" and GroupBy="Room". Please let me know if i am missing something?

Thanks
Shabana.

0
Software Development
Top achievements
Rank 1
answered on 17 Jun 2011, 03:11 PM
I have got that working now. ResourcePopulationMode ="ServerSide" was missing!!
Tags
Scheduler
Asked by
Carlos Souto
Top achievements
Rank 1
Answers by
Peter
Telerik team
Software Development
Top achievements
Rank 1
Share this question
or