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

Can I use Appointments and the AppointmentDialog without the ScheduleView?

1 Answer 44 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
LHR
Top achievements
Rank 1
LHR asked on 12 Sep 2011, 05:31 PM
I am looking to create something where users can setup recurring alerts to remind them of specific tasks, and I was hoping I could use the Appointment and AppointmentDialog to accomplish this.

Do you know if it's possible to use the Appointment and Appointment Dialogs without actually using a ScheduleView? I tried creating and showing a new AppointmentDialog,but it just came up empty.

My other big concern is how I would get the Dates for an Appointment for automated alerts. Is there a way to test if an Appointment lands on a specific date, or to get the Dates from an Appointment?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Rosi
Telerik team
answered on 13 Sep 2011, 08:10 AM
Hi Lhr,

It is not possible to use the appointment dialog without RadScheduleView control itself. You can open the dialog via EditAppointment command,but it expects RadScheduleView as a target:

RadScheduleViewCommands.EditAppointment.Execute( appointment, radScheduleView );

For your last question - you can use the GetOccurences method of appointment to check whether a specific date contains a specific appointment.

Regards,
Rosi
the Telerik team

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

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