(...) Button in Month View is navigating to the wrong Day !

6 posts, 0 answers
  1. K.Ramadan
    K.Ramadan avatar
    78 posts
    Member since:
    Feb 2020

    Posted 26 May Link to this post

    Hello there,

    i attached Photos so that you can see my problem ..

    First i had the selection tag attached to my scheduler ..

    So i had to click on the day and then click on the (...) Button to navigate to the correct day ..

    if i click on a day and then click the (...) Button from another day .. it will navigate to the day i clicked on before clicking on the (...) Button ..

    So i removed the selction tag (for now) ..

    now i can't select .. so i go directly and click on the Button .. and as you can see on the Pics .. it's not going the right direction !!

     

    PS : IT'S NAVIGATING TO THE ANOTHER DAY AT THE SAME MONTH !!!!!!

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    2104 posts

    Posted 28 May Link to this post

    Hello Karam,

    Could you demonstrate this behavior in a dojo example? Here's one with a Scheduler initialized: https://dojo.telerik.com/uXUdOJiL

    Could you list step-by-step the user actions that lead to the problematic navigation behavior?

    Regards,
    Ivan Danchev
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
  3. K.Ramadan
    K.Ramadan avatar
    78 posts
    Member since:
    Feb 2020

    Posted 09 Jun in reply to Ivan Danchev Link to this post

    hello,

    this is a working Dojo .. my Scheduler would not switch to DayView automatically when i press the moreEvent Button !

    So i did this ..

    $(".k-more-events.k-button").on("click", function () {
           $("#scheduler").data("kendoScheduler").view("timeline");
    });

     

    it will switch to the timeline view but at the day that i was seeing before switching to Month View ..

    Now if i comment this onClick function .. and then go and try to press on moreEventButton ..

    it will not change view .. but if i change the view manually i'll see the day where the moreEventButton is pressed .. 

  4. Ivan Danchev
    Admin
    Ivan Danchev avatar
    2104 posts

    Posted 11 Jun Link to this post

    Hello Karam,

    Is the issue reproducible in the dojo example I linked? Do you get a js exception when you press the "more events" button? What is the difference in terms of configuration between the Scheduler in the example, which works as expected, and your Scheduler? Do you handle any of the Scheduler events and if so, is there any logic that could be interfering with the default behavior?

    Regards,
    Ivan Danchev
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
  5. K.Ramadan
    K.Ramadan avatar
    78 posts
    Member since:
    Feb 2020

    Posted 11 Jun in reply to Ivan Danchev Link to this post

    Hello Ivan,

    I meant in my previous Post, that your Dojo is working as it should be ..

    In the DevTools in the Browser (firefox and chrome) I see no Error ..

    i found Three differences, one is the paramter map which i don't know what that is, because I have a MVC Project ..

    ,Two is the Batch

    , Three is another smaller schema

    I have on a single webpage 3 Schedulers .. User can select one to see and the other two will be hidden ..

    and yes I'm handling ( Save and Edit ) scheduler events .. but nothing could be interfering with the default behavior of the scheduler ..

    I'm just changing or hiding some Text .. even after you asked me if there is any thing could be interfering .. i checked my code and commented most of it, then ran it .. but it still does not working ..

     

    I also have some logic for dynamically changing the Height of one of the Schedulers .. but this occurs on the other two Schedulers too ..

    and I have one AjaxCall to check if there is any TimeCollision .. but this also can't be the reason .. it's just a simple AjaxCall ..

    if any thing from what i wrote, looks suspicious to you .. I'll be waiting for your response ..

    Thanks in Advance ..

     

  6. Ivan Danchev
    Admin
    Ivan Danchev avatar
    2104 posts

    Posted 15 Jun Link to this post

    Hello Karam,

    I've attached a sample project, in which navigation to the Day view works correctly after clicking the "more" button in Month view. Could you modify the Scheduler's configuration accordingly so that it is closer to your scenario and demonstrates the navigation issue you are having? Please attach the modified example back for further review.

    Regards,
    Ivan Danchev
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top