How to retrieve SiteFinity Event Properties via RadScheduler_AppointmentClick Event

4 posts, 0 answers
  1. Michael
    Michael avatar
    3 posts
    Member since:
    Nov 2010

    Posted 21 Mar 2011 Link to this post

    I have a RadScheduler whose data source is a SiteFinity event one. In the RadScheduler_AppointmentClick event, I have access to the Appointment class, but I can't seem to gain access to properties such as the location, description, etc.

  2. Michael
    Michael avatar
    3 posts
    Member since:
    Nov 2010

    Posted 22 Mar 2011 Link to this post

    Bump....anyone?
  3. Ivan Dimitrov
    Admin
    Ivan Dimitrov avatar
    78 posts

    Posted 22 Mar 2011 Link to this post

    Hello Michael,

    The e.Appointment.ID should return you the IEvent from where you can access all properties of the object

    private void EventsSchedule_AppointmentCreated(object sender, AppointmentCreatedEventArgs e)
            {
                IEvent _event = eventsManager.GetEvent(new Guid(e.Appointment.ID.ToString()));
     
            }


    Greetings,
    Ivan Dimitrov
    the Telerik team
  4. Michael
    Michael avatar
    3 posts
    Member since:
    Nov 2010

    Posted 24 Mar 2011 Link to this post

    Perfect. Thanks!
Back to Top