I'm trying to implement a custom recurrence dialog. Actually, due to business needs, I'm combining the the appointment dialog with the recurrence dialog. This means that I'm inheriting the EditAppointmentDialog class and so I can't also inherit the EditRecurrenceDialog class (not in VB.NET anyway).
Most of it is going well but I'm confused about something. When I create a recurrence by using the Every Weekday radio button under the Daily radio button a weekly recurrence rule for Monday - Friday with an interval of 1 is created. That makes sense. What I don't understand is why the WeeklyRecurrenceSettings.CanShowRecurrenceRule returns false in this situation. Well, what I don't understand is why your code is written to do that (I've looked at your source code). Since it's a weekly recurrence I can't use the DailyRecurrenceSettings control but since the WeeklyRecurrenceSettings control returns false for CanShowRecurrenceRule I can't use that function.
The recurrence rule should either be interpreted as a daily recurrence or else it should accept WorkDays and Interval = 1 as a valid weekly recurrence.
I'm considering implementing my own WeeklyRecurrenceSettings control but that seems like overkill.
Most of it is going well but I'm confused about something. When I create a recurrence by using the Every Weekday radio button under the Daily radio button a weekly recurrence rule for Monday - Friday with an interval of 1 is created. That makes sense. What I don't understand is why the WeeklyRecurrenceSettings.CanShowRecurrenceRule returns false in this situation. Well, what I don't understand is why your code is written to do that (I've looked at your source code). Since it's a weekly recurrence I can't use the DailyRecurrenceSettings control but since the WeeklyRecurrenceSettings control returns false for CanShowRecurrenceRule I can't use that function.
The recurrence rule should either be interpreted as a daily recurrence or else it should accept WorkDays and Interval = 1 as a valid weekly recurrence.
I'm considering implementing my own WeeklyRecurrenceSettings control but that seems like overkill.