Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

I was trying to change the classlist of a cell when it renders. To do this, I tried using the following code:

@page "/CalendarTest"

@using Syncfusion.Blazor.Calendars

<SfCalendar TValue="DateTime?" @bind-Value="Date">
    <CalendarEvents TValue="DateTime?" OnRenderDayCell="onRenderDayCellHandler"></CalendarEvents>
</SfCalendar>
@code{
    DateTime? Date = DateTime.Today;
    public void onRenderDayCellHandler(RenderDayCellEventArgs args)
    {
        args.CellData.ClassList += " test";
    }
}

However, when navigating to "/CalendarTest", the program uses a bunch of Memory(rising to over 2GB) and never loads. This happens no matter what I put inside of "onRenderDayCellHandler". It happens whenever you assign a function to CalendarEvents's OnRenderDayCell parameter. I have attached a file with the minimum code in it to reproduce the bug. 

I am using .Net 5, and the latest Syncfusion Blazor version (18.4.0.46)