This is a migrated thread and some comments may be shown as answers.

Disable scroll up behavior when AccessibleInterval.End is reached

3 Answers 57 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Alvaro
Top achievements
Rank 1
Alvaro asked on 13 Jul 2018, 03:01 PM

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.

3 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 16 Jul 2018, 11:02 AM
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.
0
Alvaro
Top achievements
Rank 1
answered on 17 Jul 2018, 10:08 AM

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

 

0
Accepted
Hristo
Telerik team
answered on 18 Jul 2018, 10:40 AM
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.
Tags
Scheduler and Reminder
Asked by
Alvaro
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Alvaro
Top achievements
Rank 1
Share this question
or