event not fired but that depends on its order

hi, this is very strange issue.

I'm working with this version  <PackageReference Include="Syncfusion.Blazor.Schedule" Version="19.4.0.48" />

and in my razor page I have

<ScheduleEvents TValue="PapiroSModel.Model.AppointmentData" OnDragStart="OnAppointmentDrag"></ScheduleEvents>

<ScheduleEvents TValue="PapiroSModel.Model.AppointmentData" Dragged="OnDragged"></ScheduleEvents>

<ScheduleEvents TValue="PapiroSModel.Model.AppointmentData" ActionCompleted="OnActionCompleted"></ScheduleEvents>


OnDragStart not works but if I have this:

<ScheduleEvents TValue="PapiroSModel.Model.AppointmentData" Dragged="OnDragged"></ScheduleEvents>

<ScheduleEvents TValue="PapiroSModel.Model.AppointmentData" ActionCompleted="OnActionCompleted"></ScheduleEvents>

<ScheduleEvents TValue="PapiroSModel.Model.AppointmentData" OnDragStart="OnAppointmentDrag"></ScheduleEvents>


OnDragStart works but the others not.


It happens also if  OnAppointmentDrag() is an empty function.


4 Replies

AD Alessandro Degola February 2, 2022 07:29 AM UTC

hi, I’ve tried also another events

WhatsApp Image 2022-02-02 at 08.13.55.jpeg

Also with OnResizeStart we have this problem… it works but ActionComplete not.


With another test:

WhatsApp Image 2022-02-02 at 08.27.00.jpeg


OnResizeStart works but OnDragStart and ActionComplete not

regards

alessand




BS Balasubramanian Sattanathan Syncfusion Team February 2, 2022 11:37 AM UTC

Hi Alessandro,

Greetings from Syncfusion Support.

Let you know that we should provide the scheduler events within a single tag to have those all working.

Code snippet:

<ScheduleEvents TValue="AppointmentData" OnDragStart="OnAppointmentDrag" Dragged="OnDragged" ActionCompleted="OnActionCompleted"></ScheduleEvents>


UG:
https://blazor.syncfusion.com/documentation/scheduler/events
API: https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html


Kindly try the above solution and let us know if this is helpful.

Regards,
Balasubramanian S



AD Alessandro Degola February 2, 2022 02:17 PM UTC

hi,


it works like a charm


regards

alessandro



VM Vengatesh Maniraj Syncfusion Team February 3, 2022 03:45 AM UTC

We are happy that the solution has worked for you!!!


Loader.
Up arrow icon