On AppointmentDataBound Resources not getting Load in RadScheduler

4 posts, 0 answers
  1. Tejas
    Tejas avatar
    3 posts
    Member since:
    Jul 2011

    Posted 01 Jul 2011 Link to this post

    Hello ,

    We are using Telerik's library for evaluation  purpose in our ASP.net project and all the controls working but RadScheduler behaving some thing differently.

    I need one quick solution, I am using custom form but using your own Appointment class and binding appointments with multiple resources.Resource comes from different table.

    I am able to bind them correctly but when my code point comes to AppointmentDataBound event I can not getting related resoource in
    e.Resources part.

    Appointment apt = new Appointment();
    apt.Owner = rdScheduler;
    apt.ID = 1;
    apt.Subject = "MyOwn";
    LoadTaskPersons(apt);    -->  loading Resource from this function.


    Where I am missing ? please let me know what is the best practise to user multiple resource control with RadGrid.

    Thanks in advance.
    Tejas
  2. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 06 Jul 2011 Link to this post

    Hi Tejas,

    Try to access the resources in the OnAppointmentCreated event instead of OnAppointmentDataBound via this code like in our "Multiple Resource Values" demo:
    Resource room = e.Appointment.Resources.GetResourceByType("Room");


    Greetings,
    Veronica Milcheva
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. Tejas
    Tejas avatar
    3 posts
    Member since:
    Jul 2011

    Posted 06 Jul 2011 Link to this post

    Thanks for the replay, I checked that and its working but I also need to check for the availabilty of the User resource from the server side for new meeting.

    I need to create custom form like outlook's  create meeting.how can I show user meetings on same time slot and its availability ?

    Thanks,
    Tejas
  4. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 12 Jul 2011 Link to this post

    Hello Tejas,

    Please acept my apologies for the late reply.

    Unfortunately I didn't understood your requirement. Could you please be more specific on what you mean by "create custom form like outlook's create meeting"?

    Meantime please take a look this demo for "Resource Availability" as it may hit some light.

    All the best,
    Veronica Milcheva
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top