AppointmentClick and DataItem

3 posts, 0 answers
  1. Antonin Jelinek
    Antonin Jelinek avatar
    5 posts
    Member since:
    Jul 2005

    Posted 17 Feb 2009 Link to this post


    is there any specific reason why Appointment object does have underlying DataItem null when accessed in AppontmentClick event? I'd like to use redirect to external edit form (Scheduler one) when appointment is clicked but before redirection I need to read some properties of my object that is mapped to Appointment.



  2. Peter
    Peter avatar
    6637 posts

    Posted 17 Feb 2009 Link to this post

    Hello Antonin,

    You can use Custom Attributes for any additional data you want to set and read for the appointment object.

    Kind regards,
    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.
  3. DevCraft R3 2016 release webinar banner
  4. towpse
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 02 Dec 2009 Link to this post

    What is the purpose of dataitem?
    I need to persist a list of custom objects that are releated to my appointment schedules. I thought I could store them there and have them be associated with the telerik.appointment object so when i double click an existing appointment i can access that collection and grab my list of custom objects that go along with my scheduled appoitnments...

    If I set DataItem to something when I return appointmetns to the UI, DataItem is null when I go to edit that appointment that should have a data item...

    maybe i use custom attributes?
    make a custom attribute for each item in my collection?

    Is there any documentation on data item? I did a search for it in the scheduler support and came back with nothing,
Back to Top