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
245
Bound UltraNumeric Editor Suffers Terrible Performance
posted

 

In my project I have tens of UltraNumericEditors that are bound to a DataTable that is populated by a database.

I am suffering from terrible performance when trying to resize a Form that contains these UltraNumericEditors at run-time.

The problem seems to be that DataTable contains nulls for these values initially and the idea is that the user fills the values in.

Before they do this, if the user resizes the form the application almost hangs. If they then populate these UltraNumericEditors with a number the performance issues go away – that is they are able to resize the form without issue.

If I bind to any other control, for example an UltraTextEditor, I see no such issue.

I have attached a sample project in Visual studio 2010, VB.NET, Infragistics 2011.1 that connects to a SQL Server Compact v4.0 database which you’ll find in the Bin folder. The project only has 9 lines of code and binds 6 UltraNumericEditors. Even with just 6 the performance of the resize is awful. It is astounding how much better it is once the UltraNumericEditors are populated with values.

It has taken me several days to go from noticing this resize problem to being able to boil it down to this simple project so I am now quite anxious to find out why this performance issue occurs and what I can do about it. Can you help, please?

Thanks!

 

NumericEditorBinding.zip