Accessing my appointment attributes

3 posts, 1 answers
  1. Matt
    Matt avatar
    29 posts
    Member since:
    Oct 2011

    Posted 14 Nov 2011 Link to this post

    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. Answer
    Plamen
    Admin
    Plamen avatar
    3049 posts

    Posted 15 Nov 2011 Link to this post

    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
  3. Matt
    Matt avatar
    29 posts
    Member since:
    Oct 2011

    Posted 15 Nov 2011 Link to this post

    Got it figured out. It was my error. Thanks!
Back to Top