Inside Activate
Web Forms and Wizards
ActivateWebGrid Polling
4 min
introduced in activate 8 3 11, the pollingintervalmilliseconds property enables automatic refreshing of data within an activatewebgrid control when configured, the grid will poll the server at the specified interval (in milliseconds) and update its contents without requiring the user to manually refresh the page this is useful in scenarios where near real time data visibility is required, such as monitoring dashboards or active job queues how it works when the pollingintervalmilliseconds property is set on a web grid, the browser will automatically request updated data from the server at the defined interval no additional configuration or feature flags are required the functionality is only active when the property is explicitly configured on the activatewebgrid control if the property is not set, the grid behaves as normal and does not automatically refresh configuration set the pollingintervalmilliseconds property on the activatewebgrid control and define the desired interval in milliseconds example 5000 = 5 seconds 10000 = 10 seconds 15000 = 15 seconds \<activatewebgrid id="activatewebgrid1" pollingintervalmilliseconds="5000"> \<columns> \</columns> \</activatewebgrid> minimum and recommended values minimum supported interval 500 milliseconds recommended interval 5 to 15 seconds although the minimum value is 500 ms, setting the interval too low is not recommended for most production scenarios lower polling intervals increase the number of requests made to the web server if multiple users have the grid open, this can significantly increase web traffic and server load carefully consider the use case and expected number of concurrent users when selecting an interval best practice guidance use shorter intervals only where near real time updates are operationally necessary for general monitoring scenarios, an interval between 5 and 15 seconds provides a good balance between responsiveness and system performance