Radzen Scheduler - Change color of Selected Slot

Hi Radzen team,

  1. Is " changing the color of selected slot" on async Task OnSlotSelect(SchedulerSlotSelectEventArgs args) possible?
    We can do it with attribute property on slot render with SchedulerSlotRenderEventArgs. If not, is there any alternative way to handle this? I just don't want to have a new dialog when I select a slot.
  2. Can we have _content/Radzen.Blazor/Radzen.blazor.js stored locally? Our security team is preventing us from using Radzen moving forward because, with company policy, we can't have any external links on the app.

Hi @KyleN,

No. You can use attributes and the SlotRender event though.

The dialog is shown with code in the SlotSelect event handler. If you don't want it just delete that code.

This file is embedded in the Radzen.Blazor Nuget package. So it is in a way local already. After publishing the application it gets extracted from the package and copied to the wwwroot directory of your application. So it gets 100% local when you deploy your application. Still you can also copy it to another directory and include it that way. It is just easier to use the embedded resource and avoid versioning problems.

Much appreciated your reply, @korchev .

  1. I found out that I can use javascript and found a solution for that by adding Click Event Listeners to Cells, then based on cell then adding a CSS class to it. Work like a magic
  2. Interesting. Didn't pay attention to the fact that the file is embedded in the content folder. Cool. Thank you very much. At least I can show security that and move on with my day. Again, thanks.