Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Scheduler > Appointment click event?

Not answered Appointment click event?

Feed from this thread
  • csde avatar

    Posted on Oct 25, 2011 (permalink)

    if i have this

    Appointment meetingAppointment = new Appointment();
    meetingAppointment.Subject = item.Subject;
    meetingAppointment.Start = item.StartTime;
    meetingAppointment.End = item.EndTime;
    meetingAppointment.Category = Categories.GreenCategory;
    meetingAppointment.Location = item.Location;
    radScheduler1.AddHandler(AppointmentItemsControl.SelectionChangedEvent, new Telerik.Windows.Controls.SelectionChangedEventHandler(TraceEvent), false);

            private void TraceEvent(object sender, Telerik.Windows.Controls.SelectionChangedEventArgs e)
            {
                //implement some logic here
            }


    but i get the following error

    Error 1 The best overloaded method match for 'System.Windows.UIElement.AddHandler(System.Windows.RoutedEvent, System.Delegate, bool)' has some invalid arguments

    Error 2 Argument 1: cannot convert from 'Telerik.Windows.RoutedEvent' to 'System.Windows.RoutedEvent'


    Reply

  • csde avatar

    Posted on Nov 2, 2011 (permalink)

    can anyone from telerik answer my question please?
    this is not very good help comming.

    i am still in the line of evaluating this component.

    Reply

  • Valeri Hristov Valeri Hristov admin's avatar

    Posted on Nov 2, 2011 (permalink)

    Hi,

    We would strongly recommend using RadScheduleView, not RadScheduler as the latter is now obsolete and will not receive features or minor bugfixes any more. RadScheduleView can do everything RadScheduler does, it is much faster and easy to customize.

    With RadScheduleView (the RadScheduler code is similar) you could use the following code:

    var scheduleView = new RadScheduleView();
    scheduleView.AppointmentSelectionChanged += new Telerik.Windows.Controls.SelectionChangedEventHandler(ScheduleView_AppointmentSelectionChanged);

    private void ScheduleView_AppointmentSelectionChanged(object sender, Telerik.Windows.Controls.SelectionChangedEventArgs e)

        // throw new NotImplementedException();
    }

    Kind regards,
    Valeri Hristov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • csde avatar

    Posted on Nov 2, 2011 (permalink)

    i don't see this event in RadScheduler

    radScheduler1.AppointmentSelectionChanged += new ...

    what am i missing?


    Reply

  • csde avatar

    Posted on Nov 16, 2011 (permalink)

    can u please help finding my problem?
    i am still evaluating it.
    i want to use RadScheduler
    because its still easy to use.

    i am looking for a way to raise an event when user clicks on the appointment.

    how can i do that?


    Reply

  • Valeri Hristov Valeri Hristov admin's avatar

    Posted on Nov 16, 2011 (permalink)

    Please, don't use RadScheduler for new projects. We will support it for a while for the few customers that already have applications that are not easy to convert, but for new development we strongly recommend not using RadScheduler.

    Kind regards,
    Valeri Hristov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Scheduler > Appointment click event?
Related resources for "Appointment click event?"

Silverlight Scheduler Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]