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

scheduler work week navigation bug

5 Answers 108 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Hajrija
Top achievements
Rank 1
Hajrija asked on 14 Mar 2016, 09:28 AM

Hello, 

I am working with Kendo Scheduler. I want to set my work week to start at Sunday and end at Thursday. 

I wrote the following code to define work week start and end.

  .WorkWeekStart(-7)
  .WorkWeekEnd(-3)

 

Now, my work week is displaying fine, but i have problem with navigation trough work weeks. This navigator doesn't work. When I click forward it doesn't respond at all, also when I click back, it jumps for two weeks back. All other navigators are working fine (day, month, agenda).

 

When I try

.WorkWeekStart(0)
 .WorkWeekEnd(4)

today button redirects me to next week.

5 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 16 Mar 2016, 09:07 AM
Hi,

In such cases we recommend using the second approach that you mentioned:
.WorkWeekStart(0)
   .WorkWeekEnd(4)
I have tested it once again at my side and it worked correctly and the today button did not redirect to other week. If you still observe this odd behavior please share the exact code that you are using connected with the Scheduler control so we could inspect it and be more helpful.

Regards,
Plamen
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Hajrija
Top achievements
Rank 1
answered on 16 Mar 2016, 09:52 AM
In the attachment you can find source code for my scheduler view.
0
Plamen
Telerik team
answered on 18 Mar 2016, 06:44 AM
Hi,

I have tested the described scenario by using the code from   the text file and a custom dummy datasource and worked correctly at my side.Here is the video of my test please review it and let me know what else should be done to replicate the issue It may also be helpful.
 
Regards,
Plamen
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Hajrija
Top achievements
Rank 1
answered on 18 Mar 2016, 03:15 PM

I commented this line in Layout file, and then TODAY button works just fine.

<script src="@Url.Content("~/Scripts/kendo/2015.3.930/cultures/kendo.culture.en-GB.min.js")"></script>

Can you try my example with this culture included?

 

0
Plamen
Telerik team
answered on 22 Mar 2016, 01:50 PM
Hello,

I have downloaded the "culture.en-GB" file from here and added it to the page and it still worked correctly at my side. Here is the new video. Please let me know what else should be done in order to replicate the issue or send us a sample page so we could inspect it and be more helpful.

Regards,
Plamen
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Scheduler
Asked by
Hajrija
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Hajrija
Top achievements
Rank 1
Share this question
or