Hi :
I installed the Demo version of the NetAdvantage Winforms product and created a form with four (4) controls on it (no code behind): two numeric, one date control and one combo box (bound to a local datatable).
When I ran the project in the IDE, it was VERY slow loading. In fact, you could see it "paint" the controls on the form. I even tried to run the EXE outside of the IDE, but it, too, was very slow painting the form.
We are evaluating the product to see if it fits our needs in developing Winforms applications in VS2008. My concern is that if it is this slow with only four (4) controls on the form (and no code), what will the performance be when we have over 100 controls on the form and code behind?
Any help would be appreciated.
I don't know what's causing the slowdown; as I mentioned, it wasn't running slow for me. 27 rows of 3 columns should definitely not be causing any issues. I think your best option is to contact developer suppor with this sample and mention to them that it's running slow for you in the demo version (which is the release version) but that I couldn't notice any slowdown with the latest build. It's possible that something has been addressed, though I can't think of anything that would have caused this. Are there any exceptions being thrown in your code (turn on Debug -> Exceptions -> Throw (for all CLR exceptions)?
-Matt
Hi Matt:
There are only 27 records in the table -- very small. Is the combobox what is causing the slowdown? This is a relatively small DataTable (3 columns by 27 rows).....
Kevin
Kevin,
I'm not sure what could be causing your slowdown at design-time; opening the project in Visual Studio loaded fine for me. At run-time, it's hard to say what's causing the slowdown, but it's possible that you're loading a large amount of data. How many rows exist for each of the combos?
The project is attached. You will have to bind the combobox to your own DataTable, as I bound it to a table that I created from a SQL Server table.
This is definitely not normal behavior, though I don't know what could be causing this. If you can attach a sample project to your post (through the Options tab when you reply), I can take a look at it to see if anything is going wrong. You could also contact Developer Support to see if they're aware of anything that be causing this issue.
Does removing the binding cause the form to respond normally? Does the same thing happen if you bind in-box .NET controls to your DataTable instead?