Unplanned
Last Updated: 25 Aug 2021 10:55 by ADMIN
Created by: Sherrie
Comments: 0
Category: Scheduler
Type: Feature Request
5

Currently, when using an ItemTemplate, I cannot get the details for the current occurrence from the template context as it cannot be differentiated from the series.

===

TELERIK EDIT:

In the meantime, it is possible to get the occurrence details with JavaScript. The occurrence start and end DateTime are rendered as an aria-label HTML attribute of the <div class="k-event"> element.

@inject IJSRuntime js

<TelerikScheduler Data="@SchedulerData"
                  @bind-Date="@SelectedDate"
                  Height="600px">
    <SchedulerViews>
        <SchedulerMultiDayView StartTime="@StartTime" />
    </SchedulerViews>
    <ItemTemplate>
        <div onclick="getOccurrenceDateTime(event)" style="height:100%">
            @{ var appointment = (Appointment)context; }
            @appointment.Title (CLICK ME)
        </div>
    </ItemTemplate>
</TelerikScheduler>

@* Move JavaScript code to a separate JS file *@
<script suppress-error="BL9992">
    function getOccurrenceDateTime(e) {
        alert(e.target.closest("div.k-event").getAttribute("aria-label"));
    }
</script>

@code {
    private AppointmentService appointmentService = new();

    private DateTime SelectedDate { get; set; } = DateTime.Now.Date;
    private DateTime StartTime { get; set; } = DateTime.Now.Date.AddHours(7);

    private List<Appointment> SchedulerData = new List<Appointment>();

    protected override async Task OnInitializedAsync()
    {
        SchedulerData = await appointmentService.GetAppointmentsAsync();
    }

    public class AppointmentService
    {
        public async Task<List<Appointment>> GetAppointmentsAsync()
        {
            await Task.Delay(1);

            return GetAppointments();
        }

        public List<Appointment> GetAppointments()
        {
            List<Appointment> data = new List<Appointment>();
            DateTime baselineTime = GetStartTime();

            data.Add(new Appointment
            {
                Title = "Daily Meeting",
                Description = "Daily Meeting",
                Start = baselineTime.AddHours(1),
                End = baselineTime.AddHours(1).AddMinutes(30),
                RecurrenceRule = "FREQ=DAILY;BYDAY=MO,TU,WE,TH,FR"
            });

            return data;
        }

        public DateTime GetStartTime()
        {
            DateTime dt = DateTime.Now;
            int daysSinceMonday = dt.DayOfWeek - DayOfWeek.Monday;

            return new DateTime(dt.Year, dt.Month, dt.Day - daysSinceMonday, 8, 0, 0);
        }
    }

    public class Appointment
    {
        public Guid Id { get; set; }
        public string Title { get; set; } = string.Empty;
        public DateTime Start { get; set; }
        public DateTime End { get; set; }
        public bool IsAllDay { get; set; }
        public string Description { get; set; } = string.Empty;
        public string RecurrenceRule { get; set; } = string.Empty;

        public Appointment()
        {
            var rand = new Random();
            Id = Guid.NewGuid();
        }
    }
}

 

Unplanned
Last Updated: 18 Oct 2021 18:47 by ADMIN
Created by: Salman
Comments: 6
Category: Scheduler
Type: Feature Request
4

Is this available for blazor? if not could it be added somehow temporarily until support for it is added?

 

https://demos.telerik.com/aspnet-mvc/scheduler/yearview

Unplanned
Last Updated: 11 Nov 2021 19:25 by Ron
Created by: Ron
Comments: 0
Category: Scheduler
Type: Feature Request
4
I want to be able to control the start and end of the week. For example, display week view with only Monday to Friday.
Unplanned
Last Updated: 17 Feb 2022 12:09 by Lewis
Created by: Lewis
Comments: 0
Category: Scheduler
Type: Feature Request
4
Currently, it is not possible to assign multiple resource values/instances to a single appointment - for example, a meeting that should have several attendees. Please add such functionality similar to https://demos.telerik.com/aspnet-mvc/scheduler/resources.
Unplanned
Last Updated: 17 Mar 2022 13:08 by Bjarne
Created by: Bjarne
Comments: 0
Category: Scheduler
Type: Feature Request
4

Currently, it is possible to select only one appointment at a time. I want to be able to select more than one appointment to perform some operation with all selected ones - for example, delete them.

Unplanned
Last Updated: 30 Nov 2022 13:06 by Darren
Created by: Darren
Comments: 0
Category: Scheduler
Type: Feature Request
4

Hello,

I would like the Scheduler day view to scroll automatically to a defined hour, for example the start of the work day.

Unplanned
Last Updated: 04 May 2023 10:49 by Daniel
Created by: Daniel
Comments: 0
Category: Scheduler
Type: Feature Request
4

The edit popup currently does not adapt to screen size changes. Part of the edit window for the scheduler is off the screen making it unreadable on certain resolutions.

I need to make it responsive/adaptive.

Unplanned
Last Updated: 21 Jan 2025 15:51 by Rob
Created by: Shannon
Comments: 6
Category: Scheduler
Type: Feature Request
4

I want to easily print the Scheduler calendar - month view, week view and more.

===

ADMIN EDIT

===

A possible approach for the time being is to implement printing functionality for the Scheduler in a similar fashion to how the Grid is printed here https://github.com/telerik/blazor-ui/tree/master/grid/print.

The approach relies on using JavaScript to invoke the browser print() method. Using CSS and @media print, you can customize the page and specify which elements should be visible when printing. For example, you may hide the toolbar and footer of the component, so only the calendar is visible.

Here is a runnable sample that demonstrates the approach: https://blazorrepl.telerik.com/wfkbbBca54BdZnUk24

Unplanned
Last Updated: 19 Jul 2024 10:07 by n/a
Created by: n/a
Comments: 0
Category: Scheduler
Type: Feature Request
4

The Timeline view currently does not provide the "Show business hours" option as in the other views.

Please add that for the Timeline view similar to the jQuery version of the component.

===

ADMIN EDIT

===

For the time being, you can achieve this functionality with a custom approach by programmatically setting the StartTime and EndTime of the view to equal the WorkDayStart and WorkDayEnd.

Here is a basic example: https://blazorrepl.telerik.com/QyEhvjbO07j1ZvID42.

Unplanned
Last Updated: 18 May 2020 18:39 by ADMIN
Created by: Daniel
Comments: 0
Category: Scheduler
Type: Feature Request
3

I would like to be able to change the appointment model in the OnEdit handler for the user, something like:

  void EditAppointment(SchedulerEditEventArgs args)
    {
        var appt = (Appointment)args.Item;
        appt.Title = FixMyTitle(appt.Title);
    }

  string FixMyTitle(string title) { return "something changed"; }

Unplanned
Last Updated: 13 Jun 2023 23:13 by Neil
Created by: Lance
Comments: 1
Category: Scheduler
Type: Feature Request
3
At this stage, selecting an appointment is only possible when clicking on it. I'd like to have the ability to programmatically select an appointment.
Unplanned
Last Updated: 12 Jul 2024 11:27 by Dario
Currently, I'm making specific cells undroppable zones by conditionally executing the logic inside the OnUpdate handler. When I drag over a cell that does not allow dropping in the Scheduler, I want the hint to indicate an undroppable zone.
Unplanned
Last Updated: 21 Aug 2024 13:58 by Leonard
The current functionality allows dragging items from an external component to the Scheduler, but not the other way around. I would like to be able to drag and drop appointments between multiple Schedulers.
Unplanned
Last Updated: 08 Mar 2021 08:06 by ADMIN
Created by: Wes
Comments: 0
Category: Scheduler
Type: Feature Request
2

I don't want to allow reoccurring appointments.  Is there a way to hide the reoccurring part of the editor so they can't create one?  I think a simple way to shut off reoccurring appointments on the entire scheduler would be great.

---

ADMIN EDIT

At the moment, a custom edit form is the only option: https://github.com/telerik/blazor-ui/tree/master/scheduler/custom-edit-form

---

Unplanned
Last Updated: 05 Aug 2021 15:14 by ADMIN
Created by: Sherrie
Comments: 0
Category: Scheduler
Type: Feature Request
2

I'd like to be able to search and filter the appointments in the Scheduler. Please add support for Searchbox in the Scheduler Toolbar as in the Telerik UI for ASP.NET Core.

Unplanned
Last Updated: 17 Mar 2022 13:11 by Bjarne
Created by: Bjarne
Comments: 0
Category: Scheduler
Type: Feature Request
2
Once the multiple appointments selection is available, I want to be able to delete all selected appointments at once.
Unplanned
Last Updated: 22 Aug 2022 14:22 by Shannon
Created by: Shannon
Comments: 0
Category: Scheduler
Type: Feature Request
2
I'd like to have the ability to export the Scheduler appointments to iCalendar.
Unplanned
Last Updated: 19 Sep 2022 16:25 by Support ATT
Created by: Support ATT
Comments: 0
Category: Scheduler
Type: Feature Request
2
Please add support for grouping by date similar to https://demos.telerik.com/kendo-ui/scheduler/date-grouping.
Unplanned
Last Updated: 26 Jul 2024 13:35 by ADMIN
Created by: Janick
Comments: 4
Category: Scheduler
Type: Feature Request
2
When the Scheduler works with a large dataset the rendering can get laggy. I need to use a rendering optimization feature such as the virtual scrolling in the Grid. 
Unplanned
Last Updated: 09 Dec 2024 10:07 by Federico
Created by: Federico
Comments: 0
Category: Scheduler
Type: Feature Request
2
The TimeColumn of the Agenda view displays the time in a 12-hour format by default. I want to be able to specify 24-hour format for the time.