RadScheduler - e.Appointment.BackgroundId property in AppointmentFormatting event does not work correctly, when you open Edit Appointment dialog form to edit the Background color of selected appointment. Steps to reproduce: 1. Subscribe to AppointmentFormatting event and set e.Appointment.BackgroundId property. 2. Create new Appointment via Edit Appointment dialog form. 3. Open the the appointment via Edit Appointment dialog form and change the Background color. 4. Close the Edit Appointment dialog form. Work around: Do not set this property in AppointmentFormatting event. CLOSED: Modifying data properties of the appointment should not be done on the Formatting events. The Formatting events stand for modifying visual properties of the elements being rendered and are fired during element creation. Modifying any data property of the active view or of the appointments will call another element creation cycle recursively and might result in StackOverflow exceptions or ElementAlreadyAdded exceptions.
Steps to reproduce:
radScheduler.ActiveViewType = SchedulerViewType.Timeline;
radScheduler.GetTimelineView().ShowTimescale(Timescales.Hours);
radScheduler.GetTimelineView().GetTimescale(Timescales.Hours).DisplayedCellsCount = 10;//set 8 for workarround.
radScheduler.ActiveView.StartDate = DateTime.Today;
radScheduler.GetTimelineView().RangeStartDate = DateTime.Today.AddHours(7);
radScheduler.GetTimelineView().RangeEndDate = DateTime.Today.AddDays(1);
radScheduler.GetTimelineView().ResourcesPerView = 5;
radScheduler.GroupType = GroupType.Resource;
radScheduler.SchedulerElement.SetResourceHeaderAngleTransform(SchedulerViewType.Timeline, 0);
Check out the Outlook vertical scrolling abilities in MonthView
Let's say that you have an appoiment that starts at 8:30 and ends at 8:30. RadScheduler will display it as it should, but it will not be considered by the printing functionality. We should also have in mind the case where there are several appointments starting from 8:30 and ending at 8:30.
As an example, if an appointment starts at 12 o'clock on one day and ends at 12 o'clock on the next day, it should be positioned to start in the middle of the first day cell and end in the middle of the next day, instead of filling both days.
To reproduce: RadSchedulerLocalizationProvider.CurrentProvider = new CustomSchedulerLocalizationProvider(); radScheduler1.Appointments.Add(new Appointment(DateTime.Now.AddDays(-5), DateTime.Now.AddDays(-4))); radScheduler1.Appointments.Add(new Appointment(DateTime.Now.AddDays(5), DateTime.Now.AddDays(4))); Workaround: radScheduler1.SchedulerElement.Refresh();
The width of a resource does not always match the column(s) underneath it, resulting in the resources shifting to the left in relation to the column(s) below. It appears to be about 1 pixel difference per resource which becomes more noticeable with multiple resources .If you resize the form the resources will come close to matching the column(s) before jumping back to the full difference again. This issue can be demonstrated in the Scheduler->Grouping demo
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.
ADD. Scheduler - add possibility to increase the height of the line showing the current time
Steps to reproduce: 1. Add a RadSchduler to a form (No need to add appointments) 2. Set the active view type to Timeline 3. Set the Appointmentheight property of the timeline view element to 50 4. Run the project, right-click on the scheduler and select Next View You will see a NullReferenceException exception.
The issue is when you drag up or drag down the top or bottom of the appointment i.e extend or decrease the slot. The error I get with that same codebase is Object reference not set to an instance of an object. inner exception null Source: Telerik.WinControls.Scheduler StackTrace: at Telerik.WinControls.UI.DayViewAppointmentsTable.appointment_MouseUp(Object sender, MouseEventArgs e) at Telerik.WinControls.UI.DayViewAppointmentsTable.AppointmentMouseUp(Object sender, MouseEventArgs e) at Telerik.WinControls.UI.RadSchedulerElement.scheduler_AppointmentElementMouseUp(Object sender, MouseEventArgs e) at Telerik.WinControls.UI.RadScheduler.OnAppointmentElementMouseUp(Object sender, MouseEventArgs args)...
1. Create a new project with RadScheduler. 2. Handle the AppointmentFormatting event and change appointment border color. 3. Run the project and add an appointment.
Currently RadScheduler sets the start date to be the first day of the current week in day view. RadScheduler should allow users to change this behavior in order to show the full month.
Check out the Weekly calendar style in Outlook Resolution: In Q2 2014 we introduced new feature: WeeklyCalendarPrintStyle. More information you can find in our help: http://www.telerik.com/help/winforms/scheduler-print-support-schedulerprintstyle.html, section WeeklyCalendarStyle
Use GetMultiDayView().Intervals.Add method to add intervals in multi day view. Set the time to be 0:00.
drop a scheduler on a form and call it schMain. replace your form1 code with the code below. it will reproduce the issue. in the load event of the form, there's a method called BindForm. if you comment out this line, it works. the resources are all in color like they should be. if you put the line back in, it breaks and they all go gray. i attached screen shots of what i see too. Comment: You should map the Color property of ResourceMappingInfo class to the respective property in your business object in order to solve this issue.
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.
1. Create a new project with RadScheduler. 2. Add some resources. 3. Set GroupType property to Resource. 4. Handle AppointmentDropping event and print its NewResourceId property. 4. Run the project and add an appointment. 5. Try to move this appointment to another resource.
The last row in RadScheduler's day view has different size than the others.
I found on you forum that someone else had this problem and was recommended to upgrade their printer driver. I upgraded mine and I have upd-pcl6-x64.5.6.0.14430 dated 12/15/2012 and it still fails. The error I am getting is "The value '-1' is not a valid value for the enum 'PaperSourceKind'" Can I set a default value for the paper source kind to get around this problem? If so, how do I set it? I tried to, but it's read only.