Returning extra data

2 posts, 1 answers
  1. towpse
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 17 Nov 2009 Link to this post

    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.

  2. Answer
    Peter
    Admin
    Peter avatar
    6637 posts

    Posted 19 Nov 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top