new appointment

2 posts, 0 answers
  1. Aziz
    Aziz avatar
    32 posts
    Member since:
    Sep 2011

    Posted 24 Oct 2011 Link to this post

    I have a question. When running the scheduler and I create a new appointment how can I reference it? when radScheduler_AppointmentCreating fires where is the instance of the new appointment stored?
  2. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 24 Oct 2011 Link to this post

    Hi Jacob,

    Thank you for your interest in our controls. Your  question is related to RadScheduler for Silverlight, but I strongly recommend you review our RadScheduleView control . It has better performance and more features than RadScheduler. More about difference between both controls you can read here.

    You can access the newly created appointment like this:

    RadScheduler
    private void AppointmentCreating(object sender, AppointmentCreatingEventArgs e)
    {
    e.NewAppointment = new Appointment();
    }
    private void AppointmentCreatied(object sender, AppointmentCreatedEventArgs e)
    {
    e.NewAppointment...
    }

    RadScheduleView
    private void AppointmentCreating(object sender, AppointmentCreatingEventArgs e)
    {
    e.Appointment = new Appointment();
    }
    private void AppointmentCreatied(object sender, AppointmentCreatedEventArgs e)
    {
    e.Appointment...
    }

    For more details you can review our help documentation

    Regards,
    Rosi
    the Telerik team

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

  3. DevCraft banner
Back to Top