ScheduleEvents stop working after update to version 3

Hi there, my schedule events

                          <ScheduleEvents TValue="JobsListingDisplayModel" Dragged="OnDragged"></ScheduleEvents>
                <ScheduleEvents TValue="JobsListingDisplayModel" OnDragStart="OnJobDrag"></ScheduleEvents>
                <ScheduleEvents TValue="JobsListingDisplayModel" Resized="OnResized"></ScheduleEvents>
                <ScheduleGroup ByGroupID="true" Resources="@GroupData"></ScheduleGroup>
                <ScheduleEvents TValue="JobsListingDisplayModel" OnPopupOpen="@PopupOpen" OnCellClick="OnCellClick"></ScheduleEvents>

 private async Task PopupOpen(PopupOpenEventArgs<JobsListingDisplayModel> args)
{
}
stopped working after the update to version 3.



1 Reply 1 reply marked as answer

AK Alagumeena Kalaiselvan Syncfusion Team October 14, 2020 07:24 AM UTC

Hi Bibek, 

Greetings from Syncfusion support! 
We have checked your reported case “SchedulerEvents stop working after update to version 3” based on shared sample code in latest package version but we regret to let you know we could not notice any issues at our end. As per blazor standard, we suggest to define the Scheduler events in single tag instead of defining in multiple tags. We have prepared a sample for your reference and refer below code for that. 
<SfSchedule TValue="JobsListingDisplayModel" Height="650px" @bind-SelectedDate="@CurrentDate"> 
    <ScheduleResources> 
        <ScheduleResource TItem="ResourceData" TValue="int[]" DataSource="@OwnersData" Field="OwnerId" Title="Owner" Name="Owners" TextField="OwnerText" IdField="Id" ColorField="OwnerColor" AllowMultiple="true"></ScheduleResource> 
    </ScheduleResources> 
    <ScheduleEvents TValue="JobsListingDisplayModel" Dragged="OnDragged" OnDragStart="OnJobDrag" Resized="OnResized" OnPopupOpen="@PopupOpen" OnCellClick="OnCellClick"></ScheduleEvents> 
    <ScheduleGroup ByGroupID="true" Resources="@GroupData"></ScheduleGroup> 
</SfSchedule> 

The above sample can be downloaded from the following link. 

Note: Clear the browser/Nuget cache once and check your issue again. Refer the below UG for that. 

Please check with shared sample and get back to us, if the issue still persist. 

Regards 
Alagumeena.K 


Marked as answer
Loader.
Up arrow icon