Scheduler exception on MonthView

Hello,
I have a problem with using the Scheduler component, with "RadzenMonthView". It works with Day and Week, but when I click Month, I have an exception:
Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer: Warning: Unhandled exception rendering component: Cannot provide a value for property 'DialogService' on type 'Radzen.Blazor.Rendering.MonthView'. There is no registered service of type 'Radzen.DialogService'.

System.InvalidOperationException: Cannot provide a value for property 'DialogService' on type 'Radzen.Blazor.Rendering.MonthView'. There is no registered service of type 'Radzen.DialogService'.

How can I implement DialogService?
In the example site
there is "@inject DialogService DialogService" but I do not know how to implement it, if you could give me an example.

Thank you

The instructions are here - Use Dialog and Notification components:
https://blazor.radzen.com/get-started

Fast and clear ! Thank you, it's working.
Yoda says : "Until the end, you have to read the doc, Padawan !" :blush:

Thanks again

1 Like

I am trying to use the scheduler. Just have a question regarding the functionality of the "SlotSelect" event. I am trying to select a Date Range but doesn't seem to work. However, when I click on a cell(day) the event is fired. Is that how it's supposed to work?

Hi @jbetances,

Yes, the SlotSelect event is raised when the user clicks a single slot. Multiple slot selection isn't supported.

Thank you. Reviewed the online example and it's clear how it works.