Steps to reproduce: 1. Add a scheduler to a form. 2. Add some data and group it by resource. 3. Add a button and on click call the NavigateToNextResource method: this.radSchedulerDemo.SchedulerElement.NavigateToNextResource(); You will see that nothing happens. WORKAROUND: RadScrollBarElement scrollBarElement = this.radScheduler1.SchedulerElement.ViewElement.Children[3] as RadScrollBarElement; this.radScheduler1.SchedulerElement.NavigateToLastResource(); int numberOfBackSteps = scrollBarElement.Maximum - scrollBarElement.Value - (this.radSchedulerDemo.SchedulerElement.View.ResourcesPerView - 1); for (int i = 0; i <= numberOfBackSteps; i++) { this.radScheduler1.SchedulerElement.NavigateToPreviousResource(); }
Steps to reproduce. 1. Add a RadScheduler to a form, add some appointments. 2. Add grouping with at least two groups. 3. Drag an appointment from the second group (top to bottom) and drop it above the scheduler. The drag hint should be for invalid operation (striked red circle) You will see that the appointment will disappear from the scheduler. WORKAROUND AddHandler Me.RadScheduler1.DragDropBehavior.Stopped, AddressOf DragDropBehavior_Stopped Private Sub DragDropBehavior_Stopped(sender As Object, e As EventArgs) Dim element As TimelineGroupingByResourcesElement = Me.RadScheduler1.SchedulerElement.Children(0) For Each timelineViewElement In element.Children If timelineViewElement.GetType() = GetType(SchedulerTimelineViewElement) Then For Each applicationElement As RadElement In CType(timelineViewElement, SchedulerTimelineViewElement).Presenter.Children If applicationElement.GetType() = GetType(AppointmentElement) Then applicationElement.Visibility = ElementVisibility.Visible End If Next End If Next End Sub
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.
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.
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.
Steps to reproduce: 1. Add a RadReminder component to a form 2. Set the StartNotificaton property to a TimeSpan of one hour and several minutes 3. Add a remind object to the reminder in a way that the time between now and the beginning of the appointment would be in the time interval between now and the now plus the reminder start notofication. (e.g. this.radReminder1.StartNotification = new TimeSpan(1, 30, 0); DateTime now = DateTime.Now; this.radReminder1.AddRemindObject(new Appointment(now.AddMinutes(70), now.AddMinutes(90), "text")); Start the project and show the reminder. You will see that the "Due in" time would not be correct.
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.
1. Setup a new project with RadScheduler and bind it to a database. 2. Run the project and add an appointment. 3. Resize the appointment by dragging its bottom side down.
I'm trying to include more than just the summary in the tooltip. I put the code below in the AppointmentFormatting event but I get a stack overflow unless I only include the first line that sets the tooltip to the summary, basically leaving it unchanged.
Open TimeZones example in the Demo application, navigate to TimelineView, set scale to be day, month or year, switch to MonthView then switch back to TimelineView. A NullReferenceException will be thrown.
If one drags an appointment from the all day area to the first cell of the same day which starts at 12:00 AM or 0:00 and vice versa the AppointmentMoving event does not fire.
RadReminderBindableObject remains in memory when using the ContainsRemindObject or RemoveRemindObject methods.
When I you set an appointment to something like: Start Time - 1/15/2013 4:00:00 PM End Time - 1/16/2013 12:00:00 AM the appointment element in MonthView will span on both 1/15 and 1/16 cells.
If you run RadScheduler on a system with 120 DPI, you will see that header cells are misplaced and also the text on the ruler is larger than the rows.
Use the RadSchedulerDB_Objects project from the "Introduction to RadScheduler for WinForms" webinar (http://tv.telerik.com/watch/winforms/radscheduler/introduction-radscheduler-winforms). If you run this project without opening the designer, the binding works correctly. If you open the form in the designer and then run the project, only one empty appointment will be displayed. The issue occurs because when opening the form, the following lines are removed from the designer: ((System.ComponentModel.ISupportInitialize)(this.schedulerBindingDataSource1.EventProvider)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.schedulerBindingDataSource1.ResourceProvider)).BeginInit();
1. Create a new project and add RadScheduler in week view mode. 2. Add all day event. 3. Export the all day event in iCal format. 4. Clear all appointments and import the exported file.
When you drag an appointment to a cell in MonthView, its start time will be reset to 12:00AM. To workaround the issue, use the following code: public partial class Form1 : Form { public Form1() { InitializeComponent(); this.radScheduler1.SchedulerElement.DragDropBehavior = new MyDraggingBehavior(this.radScheduler1.SchedulerElement); } } class MyDraggingBehavior : AppointmentDraggingBehavior { public MyDraggingBehavior(RadSchedulerElement element) : base(element) { } public override bool Move(DateTime newDate) { if (this.Scheduler.ActiveViewType == SchedulerViewType.Month) { newDate = newDate.Add(this.ActiveFeedback.AssociatedAppointment.Start.TimeOfDay); } return base.Move(newDate); } }
If one sets the AllowAppointmentMove to false he can still drag drop the all day appointments in the headers of a day view.
Setting the AllowAppointmentMove property to false does not prevent appointments from being dragged.