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

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

5 Answers 266 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
K.Ramadan
Top achievements
Rank 2
Veteran
K.Ramadan asked on 26 May 2020, 06:52 AM

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 !!!!!!

5 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 28 May 2020, 08:12 AM

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.
0
K.Ramadan
Top achievements
Rank 2
Veteran
answered on 09 Jun 2020, 03:12 PM

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 .. 

0
Ivan Danchev
Telerik team
answered on 11 Jun 2020, 01:46 PM

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.
0
K.Ramadan
Top achievements
Rank 2
Veteran
answered on 11 Jun 2020, 02:52 PM

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 ..

 

0
Ivan Danchev
Telerik team
answered on 15 Jun 2020, 12:29 PM

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.
Tags
Scheduler
Asked by
K.Ramadan
Top achievements
Rank 2
Veteran
Answers by
Ivan Danchev
Telerik team
K.Ramadan
Top achievements
Rank 2
Veteran
Share this question
or