Disable "Edit Series" in Appointment Dialog?

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

    Posted 23 Apr 2012 Link to this post

    Hi,

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

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

    Posted 04 May 2012 Link to this post

    Hi

    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 ==
            RecurrenceChoiceDialogMode.Resizing)
        {
            e.DefaultDialogResult = true;
            e.Cancel = true;
        }
    }

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

    Annett

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top