WebCanvas ReFresh Not Working

I am changing a variable and then calling a canvas1.Refresh or Canvas1.Invalidate to cause the canvas to call the paint function where the variable is used. I have checked and the variable gets changed but nothing seems to happen with either the refresh or invalidate.

The change will not happen until the end of the current method or event. If you want the UI to be updated during an event, you may use a timer.

It’s also worth noting that while this may work well on the desktop while testing, it will be quite slow once your app is deployed on a network or on the internet because of the amount of time it takes for a signal to get from the app to the browser and back.

Yes, so it should not be called as frequently as one would on the desktop. Maybe when applicable WebAnimator is preferable ?