Custom edit dialog

3 posts, 1 answers
  1. Chuki2
    Chuki2 avatar
    2 posts
    Member since:
    Dec 2012

    Posted 03 Dec 2012 Link to this post

    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. Answer
    Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 06 Dec 2012 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Chuki2
    Chuki2 avatar
    2 posts
    Member since:
    Dec 2012

    Posted 14 Dec 2012 Link to this post

    Thanks for help Ivan..Sorry for your answering late response 

    Your solved my question, the best support from Telerik...!
Back to Top