This is a migrated thread and some comments may be shown as answers.

new appointment

1 Answer 35 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Aziz
Top achievements
Rank 1
Aziz asked on 24 Oct 2011, 02:40 PM
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?

1 Answer, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 24 Oct 2011, 03:33 PM
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 >>

Tags
ScheduleView
Asked by
Aziz
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Share this question
or