MinutesPerRow

3 posts, 0 answers
  1. thomas
    thomas avatar
    4 posts
    Member since:
    Aug 2008

    Posted 13 Mar 2011 Link to this post

    I am evaluating this control for a project and we need to be able to have the scheduler devided in 30 minuttes. You have this functionality in the ajax version (MinutesPerRow), is this functionality not available for the win forms version?

    Best R, Thomas
  2. Martin Gartmann
    Martin Gartmann avatar
    51 posts
    Member since:
    Apr 2004

    Posted 15 Mar 2011 Link to this post

    Hi Thomas,

    check the scheduler.GetDayView.RangeFactor for this.

    i use a dropdown in my winform to switch between hour/halfhour/quarterhour per row

    FiveMinutes/SixMinutes/TenMinutes are also predifined values

    Private Sub rddScale_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.Data.PositionChangedEventArgs) Handles rddScale.SelectedIndexChanged
           Select Case rddScale.SelectedIndex
               Case 0
                   Me.rsMain.GetDayView.RangeFactor = ScaleRange.Hour
               Case 1
                   Me.rsMain.GetDayView.RangeFactor = ScaleRange.HalfHour
               Case 2
                   Me.rsMain.GetDayView.RangeFactor = ScaleRange.QuarterHour
           End Select
       End Sub


    Hope this helps

    Kind regards

    Martin Gartmann
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 16 Mar 2011 Link to this post

    Hi,

    @Martin, thank you for the answer. You Telerik points are updated for the community efforts.

    @Thomas, Martin's answer is the correct one. In case that you have other questions, feel free to write back.

    Best wishes,
    Dobry Zranchev
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top