how to disable appoinmentEditDialog

2 posts, 0 answers
  1. Ming Zhao
    Ming Zhao avatar
    44 posts
    Member since:
    Sep 2009

    Posted 19 Jan 2010 Link to this post

    We only want to use scheduler to display a list appoinments without adding new appoinment and editing existing appoinment.

    How can we disable appoinmentEditDialog so that when we click the scheduler, no appoinmentEditDialog pops up?
  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 21 Jan 2010 Link to this post

    Hi Ming Zhao,

    You can subscribe to AppointmentEditDialogShowing event:

    this.radScheduler.AppointmentEditDialogShowing +=new EventHandler<AppointmentEditDialogShowingEventArgs>(radScheduler_AppointmentEditDialogShowing);


    Then you need to do the following in the event handler:

    void radScheduler_AppointmentEditDialogShowing(object sender, AppointmentEditDialogShowingEventArgs e)
    {
    e.AppointmentEditDialog = null;
    }

    Please feel free to contact us, if you have additional questions.

    Regards,

    Boyko Markov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top