I'm testing the scheduler and seem to be having a problem wrt. getting recurring events to "behave" in a Norwegian setting. The app is an ASP.NET MVC4 web application. I have set both uiCulture and culture to nb-NO in web.config, and I've loaded kendo.culture.nb-NO.min.js in _Layout.cshtml.
If I am in DayView, choosing today's date (which is a Tuesday) and try to set up a weekly recurring event, the dialog has pre-selected Wednesday as the weekday for the recurring event. If I change that to Tuesday manually, all seems to work fine. However, this should not be necessary. ;-)
All day names are listed in Norwegian, and the first-day-of-week is Monday, just as it should be. Only the preselected weekday seems to be wrong.
Have I missed something in the config, or is this a bug...?
Best regards,
Gunnar
14 Answers, 1 is accepted
I prepared a simple test project in my attempt to replicate the issue, but to no avail. The problem is attached to this message. Probably I am missing something. Could you modify it to mimic the problem?
As a side note, currently the WeekView does not honour first day of week defined by the culture. The project shows how to achieve this.
Georgi Krustev
Telerik

Thanks for replying and for taking the time to create a test project. When I load your test project, I get the same behavior as I described in my original post. See attached screen dump. Strange??
However, I was not quite accurate when describing the problem. What happens is this: If I manually change the selected weekday to the correct choice in the recurrence dialog, the recurrence rule ends up in the DB as "FREQ=WEEKLY;BYDAY=undefined", and the event appears in the day view every day.
If I leave the pre-selected weekday as it is (which is then one off), the saved recurrence rule is correct, and the event appears as expected in the scheduler.
Any ideas? :-)
--Gunnar
Thank you for the clarification. I was able to observe the issue and I confirm it as a bug. We will address it in the next internal build of Kendo UI.
As a gratitude for your involvement I updated your Telerik points.
Georgi Krustev
Telerik

From reading other posts, I got the impression this was fixed in the latest internal build. I tried updating through the Telerik Control Panel, but I'm not sure if that gave me the latest build. My current version is 2013.2.716, main js files are dated July 19th, while the culture js files are dated July 29th). I'm still getting the same behavior regarding recurring events on specific weekdays, see attached image. I try to enter a recurring event while I'm on a Wednesday (onsdag), and the recurrence dialog comes up with Thursday (torsdag) preselected. If I leave it as is, it ends up correct in the database. Whereas if I correct the weekday manually in the dialog, the recurrence rule ends up with BYDAY=undefined.
Did I fail installing the latest internal build, or is the bug still there? If I'm still on the previous version, how can I get the latest internal build?
Best regards,
Gunnar
The fix was not included in production branch until now. The next internal build of Kendo UI will include the fix. I also attached a version of Kendo UI, which includes the patch. Please give it a try and let me know if the problem still persists.
Georgi Krustev
Telerik

Thank you so much for including the internal build. Unfortunately, I'm still getting the same error where the preselected weekday is one off (if I'm on a Friday and try to enter a weekly recurring event, the dialog comes up with Saturday preselected). However, if I then correct this manually, the correct recurrence rule now seems to be saved in the database, which is a great improvement.
Is the remaining error due to something I'm doing wrong, or are you able to reproduce this on your end as well?
Best regards,
Gunnar
Yes, the issue still exists and it is a bug. We addressed it and the fix will be included in the next internal build of Kendo UI due to this week. I once again updated your Telerik points because of the involvement.
Georgi Krustev
Telerik

How do we get the latest internal build when it's ready? Will you post it here, or could you give me the URL?
Best regards,
Gunnar
We have already addressed this problem. The internal build which will be uploaded in the begining of this week will include this fix.
The internal builds can be downloaded from your account:
- Click "Products & Subscriptions"
- Navigate to "Latest internal builds"
- Choose the product you want to update (Kendo UI in this case)
- When page loads you will see a list of the available internal builds of Kendo UI.
Georgi Krustev
Telerik

I've been busy on a different project for a while, but now I've installed v. 2013.2.906 which I believe is the latest build (?).
The recurrency feature seems to work better now, but I still have some issues in my project, which I try to localize to a Norwegian setting.
I have seven resources (rooms) for which I'm booking events.
Weekly recurring events for Mondays are rendered on both Sundays and Mondays in Day and Agenda views. Something to do with first-day-of-week (which is Monday in Norway)...? Same thing happens for work-day events (Mon-Fri), these are also rendered on Sundays. RecurrenceRule seems to be OK in the database, e.g. FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;WKST=MO
Weekly recurring events for Sundays: In Day, Month, and Agenda views, the event is rendered for Sundays and Mondays. In Week view, the event is rendered correctly for the first Sunday, but from then on it is only rendered on Mondays.
In Agenda view, all events are listed for each and every room, not just the one they are assigned to. This is not limited to recurring events.
Are you able to reproduce these errors on your end?
Best regards,
Gunnar
Yes, I was able to replicate all the issues related to recurring logic. They will be addressed in the upcoming official release of Kendo UI (service pack due the mid of September).
As to your last issue, could you elaborate more on it? I modified the test project that I attached in this thread and it seams that the Agenda view works as expected. Probably I am missing something.
Georgi Krustev
Telerik

OK, great, looking forward to the mid-September release.
Regarding the Agenda view, I was able to reproduce the behavior I described when running your test project. In Agenda view, all events are listed for all attendees. I attach some screen dumps with one event scheduled for one attendee in order to illustrate what I'm seeing.
All the best,
Gunnar
Once again, thanks for drawing our attention to this issue. We addressed both problems (recurring issue too) and the next internal build will include the fixes. I updated your Telerik points because of the involvement.
Georgi Krustev
Telerik

I just downloaded the latest internal build (2013.2.912), and I'm happy to say that recurrent events now seem to render perfectly even in a localized setting! Also, the bug I reported with the Agenda view has been fixed, just like you said. :-)
Excellent work!
Best regards,
Gunnar