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!
Hi,
I tried to run your sample and I couldn't, because it was referencing SpecificVersion on System.Data.SqlServerCe. I set SpecificVersion to false, but now the sample won't run because it is blowing up on the call to daDataSource.Fill(dtDataSource). It's finding the file, but then I get this error:
"Incompatible Database Version. If this was a compatible file, run repair. For other cases refer to documentation. [ Db version = 4000000,Requested version = 3505053,File name = \\?\C:\Users\MikeS\Desktop\NumericEditorBinding\bin\Debug\SampleData.sdf ]"
Maybe this is because I'm using VS2010 SP1 and you don't have the service pack?
Do you really need a SQL file to demonstrate this issue? It would be a lot easier to run the sample if you just created the DataTable in code. I would do it myself, but I don't even know what data type you are using.
Thanks, I really appreciate your effort here.
Do you have Microsoft SQL Server Compact 4.0 installed? From your error message it looks like you only have v3.5. You can download it here:
http://www.microsoft.com/download/en/details.aspx?id=17876
I have been unable to reproduce this issue by binding to a DataTable without it being backed by a database.
Let me know if you still can't run the project.
TIA
Hello,
Please try accessing My Support Activity again and left me know the outcome.
I can see the case now, thanks.
Resizing of the form is slow when fields are null" has been addressed in service release versions WinForms_10.3.20103.2140 and WinForms_11.1.20111.2050, 2011.2.
This service release is now available under your account at the Infragistics Website. To download the service release, log in to ‘My IG’ and select ‘Keys & Downloads’. Select the appropriate tab for this product; then the license key. The available service releases (Hot Fixes) should now be listed on the page.
Please let me know if you have futher questions regarding this matter.
Hello!
I have installed: 10.3.20103.2145 and i have still the problems!Is there a solution for this Problem?
Thanks 4 answer!
I was able to run the sample posted on this forum thread with the build you mentioned successfully. If possible, please attach a sample that I can use to reproduce this issue on this forum thread. A sample will allow me to isolate the cause of the issue and provide you with a solution.