Add an option to configure a separate custom editor to be used when the Scheduler's mobile mode is enabled. This would make possible using two different templates at the same time, for example:
.Editable(editable => {
editable.TemplateName("CustomEditorTemplate").MobileTemplateName("CustomEditorMobileTemplate");
})
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
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!
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.
Improve the .FooterTemplate() to support inline templates and receive the widget instance as a parameter, but not the event data.
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
### 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]
### 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]
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?
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.
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.
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.
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.
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.
the header display 5/21 for 21 may, but should be 21/5 for French culture
no translation for Export PDF : "Export to PDF" should be "Exporter en PDF" in french Translation
Show picture