SchedulerAppointment get_resources()

3 posts, 0 answers
  1. Brian Lehmann
    Brian Lehmann avatar
    12 posts
    Member since:
    Jun 2004

    Posted 23 Apr 2009 Link to this post

    I've recently been playing around with porting an application that uses RadScheduler over to the ASP.NET MVC platform which has had me digging around in the client side API to do some the customizations I was previously doing in code behind. In looking at ways to customize appointments based on the Resource they "belong to", I came across this post that mentions that the SchedulerAppointment object has a get_resources() method for retrieving assigned Resources. However, the documentation for SchedulerAppointment doesn't mention this. Before I commit too much to that technique, I wanted to make sure this was just an ommision in the docs and not due to that method being deprecated or unsupported. Is that routine going to be maintained on the client side in future releases?

    Also, there appears to be a typo in the documentation for the SchedulerResourceCollection (which is returned by the get_resources() method). It mentions a getResourceByType method which through trial appears to actually be getResourcesByType.

    Thanks for the great control libraries and as always your great support!
  2. Brian Lehmann
    Brian Lehmann avatar
    12 posts
    Member since:
    Jun 2004

    Posted 23 Apr 2009 Link to this post

    Sorry! Just realized I clicked the wrong forum when I created this . . . it's supposed to be in the RadScheduler forum . . . not sure if it's possible to move it.
  3. Peter
    Peter avatar
    6637 posts

    Posted 27 Apr 2009 Link to this post

    Hi Brian,

    Thank you for this observation. The get_resources() method is not deprecated - it has just not been listed. I have now documented it and it will appear with the next update of the online help.
    Also, you are right about getResourcesByType. I have corrected this too. 

    Here is how you can find the appointment's resource on the client:


    Let us know if you have any other questions or concerns.

    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.
Back to Top