Refreshing data in the UI inside the Load method after setting it for the first time

Hi @kim,

Yes, you need to stop and dispose the timer otherwise it will leak. You can implement IDisposable in your page:

public partial class EditProductComponent : IDisposable
{
    public void Dispose()
    {
      timer.Stop();
      timer.Dispose();
    }
}
2 Likes