How to prevent Scheduler reloading?

Hello!

I'm using the SFScheduler with a customized popup. When the component detects a click, the following code is executed:

Image_7561_1696365371186

It works fine, the editor opens only when I doubleclick the appointments. The problem is that the component always reloads. I'm sending a video for better explanation.

Is there a way to prevent this reloading from happening?


Attachment: video_and_code_ea125425.zip

1 Reply

VS Venkateshwaran Saravanakumar Syncfusion Team October 6, 2023 04:04 PM UTC

Hi Eduardo,


Based on your query and shared codes, we suspect that calling the RefreshEventsAsync() method from somewhere in your code might be causing the mentioned issue. We've prepared a sample and tried to replicate the issue, but we couldn't reproduce it. We recommend using the databound event in the scheduler and debugging it by clicking on an event or the cancel button to follow the call stack. For example, in the shared video, we triggered the databound event by clicking the save button and found the call stack. If unnecessary calls are going for the RefreshEventsAsync method, prevent them. If you are still facing the issue, kindly provide the following details, as they will greatly help us understand and resolve the problem:

  • Whether we have missed anything in our shared sample.
  • Provide a simplified sample that replicates the issue, or
  • Replicate the issue in our shared sample. 



Regards,

Venkatesh


Attachment: BlazorScheduler_5eb062b0.zip

Loader.
Up arrow icon