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

Cannot access Resource Object Attributes on Client Side

3 Answers 101 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Raj Nemani
Top achievements
Rank 1
Raj Nemani asked on 26 Jun 2008, 07:12 PM
Hello,

As you know, using RadScheduler, we can add custom attributes to the Resource object on the server side.  Unfortunately, I cannot access these attributed on the client side using client side resource object.  The Resource object on the client side does not have method called get_attributes(), similar to how an appointment object does.  Using an Appointment object on client side we can so something like appt.get_attributes().getattribute("xxxx") and this works fine .  Your help is appreciated.

Thanks
Raj

3 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 27 Jun 2008, 08:04 AM
Hello Raj Nemani,

Thank you for bringing this issue to our attention. We will correct it as soon as possible. We might be ready in time for the upcoming Futures release (in about two weeks). Until then, you might be able to use the appointment's attributes as a workaround. For example you might prefix the attributes with the resource name and add them to the appointment - "Resource1_Attrib1".

All the best,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Paige Cook
Top achievements
Rank 2
answered on 25 Jul 2008, 12:26 PM
It does not appear as though the functionality to access attributes on the resources was added to the Q2 release, as I am getting an error when attempting to access the get_attributes() method on a resource. Is this something that can be included in the first service pack for Q2?

Thanks.
0
T. Tsonev
Telerik team
answered on 25 Jul 2008, 01:05 PM
Hello,

Thank you for reminding us, we will include this feature in the next service pack.

Sincerely yours,
Tsvetomir Tsonev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
Raj Nemani
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Paige Cook
Top achievements
Rank 2
Share this question
or