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.
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?
### 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]
### 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]
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
Reproducible in the Vertical Grouping demo.
After adding 11 or more events, the last event starts overlapping the next resource group slot.
The slot should resize accordingly, based on the number of events shown in it. Events should not be displayed outside of the slot they belong to.
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.