Disable "Edit Series" in Appointment Dialog?

2 posts, 0 answers
  1. ITA
    ITA avatar
    384 posts
    Member since:
    Aug 2009

    Posted 23 Apr 2012 Link to this post


    is it possible to disable the "edit series" (recurrence) in the Appointment Dialog? Thank'S a lot

    Best regards
  2. Annett
    Annett avatar
    24 posts
    Member since:
    Sep 2011

    Posted 04 May 2012 Link to this post


    Use event ShowDialog on the RadScheduleView-Control. And there you can do stuff like this:

    if (e.DialogViewModel is RecurrenceChoiceDialogViewModel)
        (e.DialogViewModel as RecurrenceChoiceDialogViewModel).IsSeriesModeSelected = true;
        if (((RecurrenceChoiceDialogViewModel)e.DialogViewModel).RecurrenceChoiceDialogMode ==
            RecurrenceChoiceDialogMode.Opening ||
            ((RecurrenceChoiceDialogViewModel)e.DialogViewModel).RecurrenceChoiceDialogMode ==
            e.DefaultDialogResult = true;
            e.Cancel = true;

    In this example i say always change the series and do not show the user the dialog.


Back to Top