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

Returning extra data

1 Answer 47 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
towpse
Top achievements
Rank 2
towpse asked on 17 Nov 2009, 08:12 PM

Web Service methods normally return only a list with the current appointments (i.e. public IEnumerable<AppointmentData> GetAppointments(SchedulerInfo schedulerInfo)

What if current appointments are for a specific user Id?
Can I pass a user Id into expected the web methods?

i.e (i.e. public IEnumerable<AppointmentData> GetAppointments(SchedulerInfo schedulerInfo) ?

Or is the Web Service approach not correct if I will require to pass more parameters along?


thanks

EDIT:

yeah this is probably irrelevant. I think I spoke too soon since I can get the user info I need in my custom schedule provider using the HTTP Context.

Cheers all.

1 Answer, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 19 Nov 2009, 03:51 PM
Hi towps,

You are on the right track. You can find more on this matter in the following forum thread:
http://www.telerik.com/community/forums/aspnet-ajax/scheduler/sending-extra-info-to-the-web-service.aspx


Kind regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler
Asked by
towpse
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or