Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
430
wingrid refresh
posted

When refreshing an ultragrid I have been having sporadic (or what I thought were sporadic) problems where the grid would go black or flash before the grid was refreshed.

As I have done some more testing, I have found that the grid only seems to exhibit this behavior if you are refreshing the grid from a point where the numbers of rows in the grid does NOT completely fill the viewport (there is no vertical scroll bar).  That is, if I refresh the data and bind to the grid and the grid already had more rows than were visible in the viewport (there IS a vertical scroll bar), I don’t get this flash/black grid behavior.

I have tried wrapping the grid refresh process with Suspend/Resume Layout and Begin/End Update both on the grid itself, its parent control, and the form all to no avail.

Thanks in advance for any assistance.