Disable scroll up behavior when AccessibleInterval.End is reached

4 posts, 1 answers
  1. Alvaro
    Alvaro avatar
    5 posts
    Member since:
    Jun 2018

    Posted 13 Jul 2018 Link to this post

    Hello,

    I have a Scheduler control using all the time the MonthView with .AccessibleInterval.Start and .AccessibleInterval.End defined
    The problem is the behavior who reset the scroll position to .AccessibleInterval.Start when the .AccessibleInterval.End its reached

    The question is : How I can disable that reset?

    I just want when the scroll reach .AccessibleInterval.Position if the user scroll down that scroll stay and dont move more.

    Thanks for your help and time.

  2. Hristo
    Admin
    Hristo avatar
    1508 posts

    Posted 16 Jul 2018 Link to this post

    Hello Alvaro, 

    Thank you for writing.

    I have tested sample project with the latest version and the view is not being scrolled to the Start once its AccessibleInterval.End value is reached. Scrolling can be accomplished by using the mouse wheel and in this kind of setup, the view is updated according to the Start and End values of the property. It is also possible to scroll the view by dragging the scroll thumb and releasing the thumb outside of the accessible interval will not update the view.

    Can you please open a support ticket and send us your project demonstrating the described on your end behavior. I am also attaching my test project as well as a video showing the result on my end.

    Regards,
    Hristo
    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.
  3. Alvaro
    Alvaro avatar
    5 posts
    Member since:
    Jun 2018

    Posted 17 Jul 2018 in reply to Hristo Link to this post

    Hello,

    Thank you for the answer

    Im using a old version "2015.2.623.40", I try your code and its the behavior what I want but I found the problem,using the latest version dont work too, the problem is when had this .Start

                this.radScheduler1.FocusedDate = DateTime.Today;
                this.radScheduler1.AccessibleInterval.Start = DateTime.Today.AddDays(-7);
                this.radScheduler1.AccessibleInterval.End = DateTime.Today.AddMonths(3);

    I need show the current week, if I put the value DateTime.Today in .Start work, but the current week dont appear on the calendar

    I attach a .gif with this behavior

    Thanks

     

  4. Answer
    Hristo
    Admin
    Hristo avatar
    1508 posts

    Posted 18 Jul 2018 Link to this post

    Hi Alvaro,

    I managed to observe the reported issue. I have logged it on our feedback portal, here: FIX. RadScheduler - the month view element is incorrectly scrolled to DateTime.Now if there is an AccessibleInterval set to the control. I have also updated your Telerik points.

    A fix for the issue should be made available in the R3 2018 release. Until then please refer to the feedback item suggesting a possible workaround with a custom control.

    I hope this helps. Let me know if you have other questions.

    Regards,
    Hristo
    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