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

RadScheduler WebService Result on Insert

2 Answers 86 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 1
Anthony asked on 29 Sep 2010, 04:28 AM

We are using the RadScheduler with Web Services binding. On inserting a new appointment, we would like to retrieve the ID of the appointment on the client side after the Web Service request is complete. Can we retrieve this in the result sent back from the service call in the OnClientRequestSuccess method? If so, what is the best approach for doing this? We noticed that the Insert method is passing back IEnumerable<AppointmentData>. How can this data be used?

If the OnClientRequestSuccess method is not the best approach, what other options are there?

By the way, we noticed that it is possible to return a SchedulerResult object with the GetAppointments method. Can that be done with the InsertAppointment method? If so, that would solve our problem.

2 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 06 Oct 2010, 10:38 AM
Hi Anthony,

Apologies for the late reply.

You can return an object implementing ISchedulerOperationResult from the InsertAppointment method as well. Use the same approach as for the GetAppointments method.

Have you decided on how to get the ID immediately after the insert operation? The simplest approach is to use the Session.

I hope this helps.

Best wishes,
Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jose Granja
Top achievements
Rank 1
answered on 09 Dec 2010, 06:07 PM
Hi,

how can I manually call the radscheduler web service to update the resources???

In my application I have diferentes resources and I want to do the same as this example:

http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourcegrouping/defaultcs.aspx

but using the web service binding! I need to know how to call the resources and I've been looking at the api but I didn't find anything. Could you give me some hint/help?

regards and thanks in advance,

jose
Tags
Scheduler
Asked by
Anthony
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Jose Granja
Top achievements
Rank 1
Share this question
or