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

Accessing my appointment attributes

2 Answers 42 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 14 Nov 2011, 10:18 PM
In my provider, I put some additional information about the appointment into the Attributes collection like this:

  appointment.Attributes["somekey"] = somevalue;

I want to access those attributes in events raised by the scheduler.
So I was thinking I could just have something like

  somestring = appointment.Attributes["somekey"];

But this always comes back Null. I can see that the attributes have been populated in the debugger, I just can't figure out how to retrieve values. Can someone show me please? Thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 15 Nov 2011, 03:47 PM
Hi Matt,

You can refer to this forum where a similar issue have been discussed. Please let me know if this has helped.

Greetings, Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Matt
Top achievements
Rank 1
answered on 15 Nov 2011, 10:05 PM
Got it figured out. It was my error. Thanks!
Tags
Scheduler
Asked by
Matt
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Matt
Top achievements
Rank 1
Share this question
or