Hi,
I am using the CalHelper (as suggested by this) in order to convert RecurrenceRule back and forth to string in order to persist on the database.
With the minutely recurrence rule, it seems like the conversion is not done correctly.
Please check the below code:
var recurrenceRule = new MinutelyRecurrenceRule();
recurrenceRule.Start = new DateTime(2020, 4, 1);
recurrenceRule.Interval = 30;
recurrenceRule.End = new DateTime(2020, 4, 1, 2, 0, 0);
var qString = CalHelper.RecurrenceRuleToString(recurrenceRule);
RecurrenceRule recurrenceRule1;
CalHelper.TryParseRecurrenceRule(qString, out recurrenceRule1);// recurrenceRule1 will be null
Is there a way to fix this issue?
Thanks,
Use the following code:
Public Sub New()
InitializeComponent()
RadSchedulerReminder1.TimeInterval = 500
Dim appointment As New Appointment(DateTime.Now.AddDays(-1), TimeSpan.FromHours(1), "A")
appointment.Reminder = New TimeSpan(10000)
Me.RadScheduler1.Appointments.Add(appointment)
Dim appointment2 As New Appointment(DateTime.Now.AddHours(-2), TimeSpan.FromHours(1), "B")
appointment2.Reminder = New TimeSpan(10000)
Me.RadScheduler1.Appointments.Add(appointment2)
RadSchedulerReminder1.StartReminderInterval = Date.Now.AddDays(-1)
RadSchedulerReminder1.EndReminderInterval = Date.Now.AddDays(1)
End Sub
Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
RadSchedulerReminder1.StartReminder()
RadScheduler1.ActiveViewType = SchedulerViewType.Week
End Sub
Drag "A" on the same interval as "B". You will notice that the reminder dialog will continue to show only "B".
To reproduce: 1. Create a new Form 2. Add a Scheduler control and set Dock to Dock.Fill 3. Run the form 4. Add an appointment to the scheduler 5. Right-click the newly added appointment and start dragging it to move the appointment 6. Let go of the mouse button to drop You will notice that the appointment will not be dropped and the context menu will show. A correct behavior should be chosen. Workaround: Stop the appointments from dragging with right-mouse: MouseButtons lastButton; void scheduler_MouseDown(object sender, MouseEventArgs e) { this.lastButton = e.Button; } void DragDropBehavior_Starting(object sender, RadServiceStartingEventArgs e) { e.Cancel = lastButton == System.Windows.Forms.MouseButtons.Right; }
ScrollToWorkHours does not work properly in DayViewGroupedByResource mode
RadScheduler/RadSchedulerNavigator crashes upon BindingContext change during being/end initialize
Currently, a time range of working ours is valid for all days in the week. There could be a rule that sets a specific range for some days of the week, leaving another range of hours for the rest of the days.
If an appointment is about to change its resource, e.NewResourceId in the AppointmentDropping event should return the id new the new appointment. However, it returns nothing.
The last row in RadScheduler's day view has different size than the others.
When the resources per view are more then 14 then the header row in the timeline view is overlapped by the cells.
AppointmentMouseDown is not raised in Timeline view
Wrong calculated scroll bar in the timeline view.
Settings properties in Appointments/Resource Mapping dialogs to None, does not affect design time
Add functionality to customize statuses and backgrounds.
Add an event which notifies the user when the data loading pocess is finished
Add functionality to customize timeline view header height
Add functionality to scroll grouped view to given resource
Add half hour time scale in the timeline view
Steps to reproduce: 1. Subscribe for the scheduler Appointments.CollectionChanged event. 2. Add a recurring appointment and delete a single occurrence. You will see that the event is fired and the action is Add.
RadScheduler - Implement functionality that will allow clients to define which time intervals should be visible in TimeLine view.
When in multi day view if many days are being added, each day visual becomes so narrow that the application practically becomes useless. If there is horizontal scroll bar the view could be stretched and the user would be able to scroll between the days.