RadScheluder events and properties Errors

3 posts, 0 answers
  1. John
    John avatar
    2 posts
    Member since:
    Mar 2018

    Posted 10 Mar 2018 Link to this post

    Hello Developers.
    I have a problem with the RadScheluder control, I tell you I had previously used a 2014 version or not remember, in that version there was the following event 

    Telerik. WinControls. UI. SchedulerContextMenuShowingEventArgs

    but in the new version when compiling it sends me the following error message telling me that the type "Telerik. WinControls. UI.SchedulerContextMenuShowingEventArgs" is not defined.
    The second mistake is when I want to do the following


    Dim dayView As SchedulerWeekView = Me. RadScheduler1. GetWeekView
    dayView. RangeFactor = dtParams (0) Item (4). ToString ()
    dayView. RulerTimeFormat = RulerTimeFormat. hours24

    in this one makes an error because it doesn't recognize the RulerTimeFormat property someone knows how to fix it, I'm updating my application.

  2. John
    John avatar
    2 posts
    Member since:
    Mar 2018

    Posted 10 Mar 2018 in reply to John Link to this post

    the event I put up above runs as follows, I haven't been able to solve it 

    Private Sub RadScheduler1_ContextMenuShowing(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.SchedulerContextMenuShowingEventArgs) Handles RadScheduler1.ContextMenuShowing
  3. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    4066 posts

    Posted 13 Mar 2018 Link to this post

    Hello, John,

    Thank you for writing.  
    We have introduced some major refactoring of RadScheduler in Q2 2014 (version 2014.2.617). All changes and new features are listed in the release history: https://www.telerik.com/support/whats-new/winforms/release-history/ui-for-winforms-q2-2014-(version-2014-2-617)

    You can refer to the following help article demonstrating how to customize the context menu in the latest version: https://docs.telerik.com/devtools/winforms/scheduler/context-menu/customize-the-contextmenu

    As to the ruler's format, you can either use the RulerFormatStrings property or handle the RulerTextFormatting event. Additional information is available here: https://docs.telerik.com/devtools/winforms/scheduler/fundamentals/scheduler-ruler
    I hope this information helps. Should you have further questions I would be glad to help. 
    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