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

Custom edit dialog

2 Answers 146 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Chuki2
Top achievements
Rank 1
Chuki2 asked on 03 Dec 2012, 03:11 PM
Hello, I'm Chuki2 and I new in here.

I have create a custom form from scratch. Usually when we click right mouse, it will show "new appointment" then it will open form Edit Dialog right? How to do if when user click "new appointment" then it will open my custom form?

Sorry if I ask. But I have spend many hour to looking answer but still not found. Hope someone can help me to resolved this problem.

Thank again.

2 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Todorov
Telerik team
answered on 06 Dec 2012, 01:26 PM
Hi Chuki2,

Thank you for contacting us.

The process of adding a custom field to the appointments and then exposing it in a customized edit dialog is described in this help article. Shortly, to replace the default dialog with a custom one, your dialog should implement the IEditAppointmentDialog interface and you should handle the AppointmentEditDialogShowing event:
void radScheduler1_AppointmentEditDialogShowing(object sender, AppointmentEditDialogShowingEventArgs e)
{
       e.AppointmentEditDialog = new CustomAppointmentEditForm();
}

I hope this helps. Feel free to ask if you have any additional questions.

Kind regards,
Ivan Todorov
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Chuki2
Top achievements
Rank 1
answered on 14 Dec 2012, 05:09 PM
Thanks for help Ivan..Sorry for your answering late response 

Your solved my question, the best support from Telerik...!
Tags
Scheduler and Reminder
Asked by
Chuki2
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Chuki2
Top achievements
Rank 1
Share this question
or