Ruler Scale Problems

8 posts, 0 answers
  1. mrdcpwns
    mrdcpwns avatar
    16 posts
    Member since:
    Dec 2009

    Posted 06 Jan 2010 Link to this post

    I've changed some values on the Ruler element:

    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
  2. Boyko Markov
    Boyko Markov avatar
    610 posts

    Posted 12 Jan 2010 Link to this post

    Hello mrdcpwns,

    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);

    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.
  3. Kian
    Kian avatar
    15 posts
    Member since:
    Sep 2010

    Posted 28 Sep 2010 Link to this post

    Dear Admin,

    I have a problem with RulerStartScale and RulerEndScale. I wrote this code in my Form Load to change the WorkTime:

     RadScheduler1.GroupType = GroupType.Resource
     RadScheduler1.ActiveView.ResourcesPerView = 5

     RadScheduler1.GetDayView.WorkTime = New TimeInterval(TimeSpan.FromHours(7), TimeSpan.FromHours(24))
     RadScheduler1.GetDayView.RulerStartScale = 7
     RadScheduler1.GetDayView.RulerEndScale = 24
     RadScheduler1.GetDayView.RulerTimeFormat = RulerTimeFormat.hours24

    and I have a RadScheduler (ActiveViewType=Day - DayCount = 1) and a calendar in my form.
    and I have an event handler for my calendar:

     Private Sub RadCalendar1_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs)
            RadScheduler1.GetDayView.StartDate = RadCalendar1.SelectedDate
     End Sub

    When RadScheduler1.GetDayView.StartDate is changed I lost my RulerStartScale  and RulerEndScale and WorkTime.
    How can I do to solve this issue?

    Thank you in advance.
  4. Dobry Zranchev
    Dobry Zranchev avatar
    353 posts

    Posted 30 Sep 2010 Link to this post

    Hello Kian,

    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.

    Dobry Zranchev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Jason
    Jason avatar
    2 posts
    Member since:
    Nov 2015

    Posted 05 Oct 2017 Link to this post

    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?

  6. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    3047 posts

    Posted 06 Oct 2017 Link to this post

    Hello, Jason,  

    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.

    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  7. Jason
    Jason avatar
    2 posts
    Member since:
    Nov 2015

    Posted 06 Oct 2017 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    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.

  8. Hristo
    Hristo avatar
    1470 posts

    Posted 09 Oct 2017 Link to this post

    Hi Jason,

    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.

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top