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

[Solved] Adding attributes to SchedulerAttributeCollection from client side

2 Answers 110 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jonathan Levy
Top achievements
Rank 1
Jonathan Levy asked on 22 May 2009, 12:23 PM
Hi

Is it possible to add attributes to the SchedulerAttributeCollection from the server side event creation so that they can be accessed from the client side? I need to pass custom attributes to the client side from the server side. If there is a better way to do this please let me know.

I should add that I'm binding to a generic List(Of AppointmentInfo)

Cheers
Jon

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 26 May 2009, 08:17 AM
Hi Jonathan,

Could you please elaborate? Have you tried setting CustomAttributeNames of RadScheduler in page load?

Regards,
Peter
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.
0
Jonathan Levy
Top achievements
Rank 1
answered on 28 May 2009, 12:33 PM
Hi

I've sorted this now. I added some attributes to the appointment in the appointmentcreated event. I then access the attributes from get_appointment().getAttribute()

Cheers
Tags
Scheduler
Asked by
Jonathan Levy
Top achievements
Rank 1
Answers by
Peter
Telerik team
Jonathan Levy
Top achievements
Rank 1
Share this question
or