In the Scheduler's Timeline view when there are events with the same Start and End dates and one of them is resized, the Scheduler reorders the events automatically, placing the longest event on top and the shortest event at the bottom of the slot. The same occurs in other views, for example, in the Week view the events are automatically reordered from left to right (longest to shortest).
It would be nice to be able to control this behavior and disable it through a dedicated option.
Toolbar.Items.Group.CustomTool() API of the Scheduler produces an invalid configuration.
To give more context, the Toolbar's buttonGroup items do not expose, nor should they expose a template
configuration. The currently available options advocate that each of the buttons must apply options similar to that of the ToggleButton.
Thus, making the wrapper configuration not applicable. The following dojo verifies this - https://dojo.telerik.com/@alexander64836/ayedUsAh
Toolbar.Custom.Items.Group.CustomTool() API configuration of the Scheduler produces an invalid configuration which is not serialized accordingly.
Toolbar.Items.Group API configuration of the Scheduler should expose a CustomTool() API configuration for the ButtonGroups.
The current workaround would be to declare the CustomTool via the Toolbar.Custom.Items.CustomTool() API configuration. And a ButtonGroup via the Template component:
@(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.TaskViewModel>()
.Name("scheduler")
...
.Toolbar(t => t.Custom(c =>
c.Items(itm => {
itm.CustomTool(Html.Kendo().Template().AddComponent(c => c
.ButtonGroup()
.Name("select-period")
.Items(t =>
{
t.Add().Text(string.Empty).Icon("chevron-up");
t.Add().Text(string.Empty).Icon("chevron-down");
})
));
})
)
)
)
The following Telerik REPL illustrates this approach.
Scheduler Adaptive Rendering in Month View shows wrong year when the selected month is switched from December to January
Next
button to select the next monthThe year doesn't get update properly when the selected Month is switched from December to January
The correct year must be shown in the Scheduler's .k-scheduler-navigation element.
### Bug report
When the default action of the Navigate event is prevented, and the user selects a date through the built-in Calendar, the Scheduler navigates to the respective date/week, although the Navigate event is prevented.
### Reproduction of the problem
1. Create a Scheduler and enable the "selectable" option.
2. Handle the "navigate" event and prevent its default action.
3. Select a date through the Calendar.
4. The Scheduler navigates to the selected date/week.
A Dojo sample for reproduction: https://dojo.telerik.com/OnategOD
### Expected/desired behavior
The Navigate event must be prevented when calling the preventDefault() method.
### Environment
* **Kendo UI version: 2023.2.829
* **jQuery version: 1.12.4
* **Browser: [all]
Similar to #5759. The issue is reproducible with mobile mode and vertical grouping enabled.
Dojo example: https://dojo.telerik.com/enaNotaZ/2
Misalignment between the group cells (e.g., Bob) and the day cells.
Properly aligned cells.
In the Scheduler's Adaptive Rendering mode when the Month view is selected and an event end spans more than a day and ends in 00:00:00 an additional element is rendered for the event.
In the Month View of the Scheduler's when Adaptive Rendering is enabled the events should span the correct amount of days.
The Kendo UI for jQuery Scheduler exposes toolbar.items.mobile option that allows you to define the desired tools in in adaptive rendering mode. Is it possible to implement the same option for the Scheduler Html and Tag Helper?
Hello,
We are subscribing to the change event of scheduler on clicking any event/Slot , the functionality works fine with window machines.
In iPad the change event gets triggered on clicking any part of scheduler. for instance when i click the show Full day text below it triggers the change event in iPad but not in windows.
Please let us know how to restrict change event to be triggered only when a slot/event is selected in iPad.
Thanks.
When no datasource is bound, the slot titles and resource group names are not shown, despite being known. After binding to a datasource, they get set immediately. This leads to a glitchy user experience, as there is an empty table with no text whatsoever, as long no databinding is triggeredThe resource descriptions and slot header texts should be set independently from the data binding. The behavior can be observed in the attached example.
Regards, Frieder
### Bug report
When the custom editor template of the Scheduler contains a label text with a special character, it is encoded automatically. If the encoding contains a hash literal (#), it throws a client-side error "Invalid template".
### Reproduction of the problem
1. Create a Scheduler with a custom editor template.
2. Add a label for a specified Model property by using the @(Html.LabelFor(model => model)) configuration.
3. Add a label text with a special character as per the example below.
<div class="k-edit-label">
@(Html.LabelFor(model => model.Title, "Durchfüehrung"))
</div>
<div data-container-for="title" class="k-edit-field">
@(Html.Kendo().TextBoxFor(model => model.Title)
.HtmlAttributes(new { data_bind = "value: title"})
)
<span data-for="title" class="k-invalid-msg"></span>
</div>
4. Try to add an event or edit an existing event. Open the browser console to review the error:
### Expected/desired behavior
The hash literals in the encoded strings should be escaped automatically.
### Environment
* **Telerik UI for ASP.NET Core version: 2023.2.718
* **Browser: [all]
The current layout of the edit template when adaptive rendering is enabled is not very intuitive and user friendly - https://demos.telerik.com/aspnet-mvc/scheduler/adaptive-rendering
It would be beneficial if the design is improved for better user experience on mobile devices. For example, identifying and locating the save button is not easy:
DataSource Wrappers do not expose a configuration property do create a kendo.data.SchedulerDataSource. This is needed to configure a shared DataSource between the Filter and the Scheduler
The wrapper should be able to integrate the Filter with Scheduler as referenced by the Filter's Documentation
1565222
Currently the Year view of the Scheduler displays only the start date of a multi-day event. Please provide an option to display multiday events in the tooltip for each day the event occurs similar to the Month view.
Hi Team,
I'd like to request for a built-in Monthly Agenda view to allow a larger view for the Kendo UI Scheduler.
Thank you!
Hello,
I think the new-event dialog is slow to open, when there are hundreds of events, because a placeholder event is added to the calendar before the dialog is shown. This causes re-rendering of all events, adding a noticeable delay.
Initial setup for reproduction:
public void OnGet()
{
if (meetings == null)
{
meetings = new List<MeetingViewModel>();
Enumerable.Range(1, 200).ToList().ForEach(x => meetings.Add(new MeetingViewModel()
{
MeetingID = x,
Title = "Daily Event " + x,
Start = DateTime.Now.AddHours(x * 2),
End = DateTime.Now.AddHours(x * 3),
Description = "Description for event " + x,
Attendees = new List<int>() { (x % 3) + 1 },
RecurrenceRule = "FREQ=DAILY;INTERVAL=1"
}));
Enumerable.Range(1, 200).ToList().ForEach(x => meetings.Add(new MeetingViewModel()
{
MeetingID = x,
Title = "Weekly Event " + x,
Start = DateTime.Now.AddHours(x * 2),
End = DateTime.Now.AddHours(x * 3),
Description = "Description for event " + x,
Attendees = new List<int>() { (x % 3) + 1 },
RecurrenceRule = "FREQ=WEEKLY;INTERVAL=1"
}));
}
}
Navigate to the scheduler page
Related to daylight saving: in the US on14 March, 2021, at 2:00AM the clocks are moved 1h forward.
Dojo example.
The selection is moved 1h back to 1:00AM (or 1:30AM respectively) and the event is created at this time.
The event should be created at 3:00AM. This will be consistent with the way Outlook handles daylight saving - in a new meeting if you select 2:00AM as a start time, it is automatically changed to 3:00AM.
Dear Telerik Team
I have recently found a bug in the asp.net core Scheduler.
What I did (using this demo):
1. Created a daily event
2. Edited the second event (the current occurrence) and saved it
3. Tried to edit the second event again
The problem is now that the popup if I want to edit the current occurrence or series still showed up but it should not.
We had the same problem also on our asp.net core application.
Best Regards
Jan