Updating values dynamicly

Im trying to update values in my table in a 5 min interval. Im using Radzen data grid that takes in a data element as parameter pretty staightforward, to update that element i run a timer in the OnInitialize class:


Image_1859_1745998276497

Loaddata fetches the newest values from the DB. this works, but my problem is that the "StateHasChanged" refreshes the site and therefor all tabs the user has open, is there anyway i can go around this ?


1 Reply

YS Yohapuja Selvakumaran Syncfusion Team May 7, 2025 04:17 AM UTC

Hi Henrik,


Thank you for reaching out to us.


To better assist you, could you please clarify whether the issue you're facing is related to a Syncfusion component or a different third-party component?


Based on your description, it appears you're using a timer to refresh data every 5 minutes, and calling StateHasChanged() results in a full refresh across all open tabs, which disrupts the user experience. If this issue is occurring with a Syncfusion component, kindly let us know which component you're using so we can investigate further and provide a more accurate solution.


If the issue is related to the DataForm component, you may find the following resources helpful:


Documentation:  https://blazor.syncfusion.com/documentation/data-form/getting-started-with-web-app


Demo: Blazor Data Form Example | Default Functionalities | Syncfusion Demos



Regards,

Yohapuja S


Loader.
Up arrow icon