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

How do I open the default edit appointment form with code only

2 Answers 90 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Bassel
Top achievements
Rank 1
Bassel asked on 14 Jun 2017, 11:15 AM

In VB.net please,

 

I need to open the default edit form for a an appointment in MyRadScheduler.Appointments, so I just need to simulate the double click on an appointment, but using only code.

2 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 14 Jun 2017, 11:38 AM
Hello Bassel, 

Thank you for writing.  

Here is a sample code snippet demonstrating how to show programmatically the EditAppointmentDialog:
public RadForm1()
{
    InitializeComponent();
 
    this.radScheduler1.Appointments.Add(new Appointment(DateTime.Now, TimeSpan.FromHours(2), "Meeting"));
}
 
 
private void RadForm1_Shown(object sender, EventArgs e)
{
    this.radScheduler1.ShowAppointmentEditDialog(this.radScheduler1.Appointments[0], false);
}

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Bassel
Top achievements
Rank 1
answered on 14 Jun 2017, 11:43 AM
Thanks, Dess!
Tags
Scheduler and Reminder
Asked by
Bassel
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Bassel
Top achievements
Rank 1
Share this question
or