Startscale : 7
Endscale : 19
RangeFactor : QuarterlyHour
Problems encountered (tested over DayView):
1. Appointment area below the 12th has no lines
2. When right clicked over the appointment area and selected Next or Previous Day, the scale and range values return to their default values. Where can I find the property to set the values found for those two items in the context menu?
Also, if I may ask another question:
How can I change the text and remove items from the context menu? (e.g. New Appointment changed to New Meeting)
Sample Project Solution
http://www.megaupload.com/?d=D3SP8XR6
12 Answers, 1 is accepted
1. I confirm that there are issues with the RulerStartScale and RulerEndScale settings. We will do our best to fix them for the upcoming Q1 release. However, if your scenario concerns highlighting the WorkTime area, you can use the ScrollToWorkHours method.
SchedulerDayViewElement dView = (this.radScheduler.SchedulerElement.ViewElement as SchedulerDayViewElement);
dView.DataAreaElement.Table.ScrollToWorkHours();
2. If you need to change the text of some of the MenuItems or the entire ContextMenu, then you can do the following:
this.radScheduler.ContextMenuShowing += new EventHandler<SchedulerContextMenuShowingEventArgs>(radScheduler_ContextMenuShowing);
void radScheduler_ContextMenuShowing(object sender, SchedulerContextMenuShowingEventArgs e)
{
e.ContextMenu.Items[0].Text = "New Meeting";
}
You can change also the default ContextMenu instance in the event handler.
If you need more information, please contact us again.
Kind regards,
Boyko Markov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
How can I do to solve this issue?
Thank you for writing.
I am not able to reproduce the issue with Q2 2010 SP2. Please open a new support ticket and create a sample project that demonstrates the issue. This will help us to investigate the case and provide you with further assistance.
If you have other questions, feel free to write back.
Greetings,
Dobry Zranchev
the Telerik team
I am having trouble with the RulerStartScale and RulerEndScale. I can't seem to get my Ruler to go past 5:00pm trying many different combinations of RulerStartScale, RulerEndScale, and the WorkTime Timespan.
Is there still a framework issue with these Scheduler properties?
Thank you for writing.
Following the provided information, I was unable to reproduce the issue you are facing. Please refer to the attached gif file illustrating the behavior on my end with the latest version. Could you please specify the exact steps how to reproduce the problem? Alternatively, you can submit a support ticket where you can provide a sample project demonstrating the exact problem you are facing. Thus, we would be able to make an adequate analysis of the problem and assist you further. Thank you in advance.
I am looking forward to your reply.
Regards,
Dess
Progress Telerik
Thanks for getting back to me, Dess. Please find attached a code snippet and two screenshots (Top and Bottom scrolled) of my scheduler. I am trying to set my scheduler to Begin at 6am and End at 9pm. When I set the "RulerStartScale" (6) and "RulerEndScale" (21) it appears to offset everything by a couple of hours and the result is to Begin at 5am (Top) and End at 4pm (Bottom). Does this have anything to do with TimeZones. I've also tried to adjust "WorkTime" a variety of ways to no logical conclusion. Also as I mentioned in my earlier post, no matter what I do to any of these properties (or ignore them) my Scheduler never shows a time past 5PM.
Thanks for any ideas.
Thank you for writing back.
We had an issue with a similar result as seen in your screenshots. It was resolved with the R2 SP1 2017 release.
In case you keep having problems with your project please open up a support ticket and send it over. That would be the fastest way for us to investigate the issue.
I hope this helps. Please let me know if you have other questions.
Regards,
Hristo
Progress Telerik
Hi, I have a problem with the Appointment EndTime scale.
All StartTime are correctly, but the EndTime are 15 minutes more, if the Endtime not full hour.
Private Sub Form3_Load(sender As Object, e As EventArgs) Handles MyBase.Load
dtVGanttAll = daVGanttAll.GetData
SchedulerBindingDataSource1.ResourceProvider.DataSource = dtVGanttAll
SchedulerBindingDataSource1.EventProvider.DataSource = dtVGanttAll
RadScheduler1.DataSource = SchedulerBindingDataSource1
RadScheduler1.GetDayView.DayCount = 2
Dim dayView As SchedulerDayView = Me.RadScheduler1.GetDayView()
If Me.RadScheduler1.ActiveViewType = SchedulerViewType.Day Then
Dim activeDayView As SchedulerDayView = CType(Me.RadScheduler1.ActiveView, SchedulerDayView)
End If
dayView.DayCount = 2
dayView.WorkTime = TimeInterval.Day
dayView.WorkWeekStart = DayOfWeek.Monday
dayView.WorkWeekEnd = DayOfWeek.Sunday
dayView.RangeFactor = ScaleRange.QuarterHour
dayView.RulerStartScale = 6
dayView.RulerStartScaleMinutes = 0
dayView.RulerEndScale = 22
dayView.RulerEndScaleMinutes = 0
dayView.RulerFormatStrings = New RulerFormatStrings("%H", "mm", "", "")
dayView.RulerWidth = 40
dayView.RulerScaleSize = 20
Dim dayViewElement As SchedulerDayViewElement = DirectCast(Me.RadScheduler1.ViewElement, SchedulerDayViewElement)
dayViewElement.DataAreaElement.Ruler.TimePointerStyle = RulerCurrentTimePointer.Arrow
dayViewElement.DataAreaElement.Ruler.CurrentTimePointerWidth = 3
dayViewElement.DataAreaElement.Ruler.CurrentTimePointerColor = Color.Green
End Sub
Can you help me please?
Hello, Ivan,
Indeed, the provided screenshot shows incorrectly aligned appointment into the view.
Following the code snippet, I have prepared a sample project to test the behavior on my end with the latest version. It seems to work as expected:
I have attached my sample project. Am I missing something? Is the RadScheduler's setup different on your end? Could you please specify the exact steps how to reproduce the problem? Once we replicate the issue locally, we would be able to make an adequate analysis of the precise case and provide further assistance. Thank you in advance.
I am looking forward to your reply.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Hi Dess
thanks a lot for your answer.
All Start and EndTimes are from Database fields!
With this sentence I fill the SchedulerBindingDataSource1
dtVGanttAll = daVGanttAll.GetProd
SchedulerBindingDataSource1.EventProvider.DataSource = dtVGanttAll '(DataBase Table)
RadScheduler1.DataSource = SchedulerBindingDataSource1
It works very well too, only the end times (if minutes are not 00) are not in the correct timeline.
In your example you have entry a manually appointment string, I have a DataBase table with a lot of rows.
Best regrard
Ivan
If your appointment exceeds with one minute or even with 1 second after the time slot that a certain cell occupies (e.g. 10:30-10:45), this means that the appointment will be spread over the next cell as well since it occupies a very small part of the time. Hence, the obtained behavior is expected.
The possible solution that I would suggest is to enable the RadScheduler.EnableExactTimeRendering property. Thus, the appointment's start and end time should be rendered exactly.: https://docs.telerik.com/devtools/winforms/controls/scheduler/views/exact-time-rendering
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Dear Dess
thanks a lot for your help, it works perfectly now.
Best regards and have a nice day ! ! !