scheduler work week navigation bug

6 posts, 0 answers
  1. Hajrija
    Hajrija avatar
    11 posts
    Member since:
    Oct 2014

    Posted 14 Mar Link to this post

    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.

  2. Plamen
    Admin
    Plamen avatar
    2731 posts

    Posted 16 Mar Link to this post

    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
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Hajrija
    Hajrija avatar
    11 posts
    Member since:
    Oct 2014

    Posted 16 Mar in reply to Plamen Link to this post

    In the attachment you can find source code for my scheduler view.
  5. Plamen
    Admin
    Plamen avatar
    2731 posts

    Posted 18 Mar Link to this post

    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
  6. Hajrija
    Hajrija avatar
    11 posts
    Member since:
    Oct 2014

    Posted 18 Mar in reply to Plamen Link to this post

    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?

     

  7. Plamen
    Admin
    Plamen avatar
    2731 posts

    Posted 22 Mar Link to this post

    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
Back to Top
UI for ASP.NET MVC is VS 2017 Ready