I developed a from with the grid.
I want to distribute the application.
For the users, the infragistics dll's are not installed, so I copied the dll's to the
user's excuting directory.
The form loads very slowly.
The dll's being copied local to the users executing directory will not affect performance so the only variable here would be the actual machine. How does the applicaiton perform on your machine? What are the specs of your users machines?
For me it takes 2 -3 seconds to load a form
For a user it takes -15 seconds.
We have the about same strengh of computers.
Well, it all depends on a few things.
1. How many rows and columns are you loading into the grid?
2. Are you doing any row by row initialization?
3. Do you have any filters, groupings, summaries or calculated columns on load?
If you are not doing any of things mentioned in 3, then I would suggest taking a look at using the UltraDataSource in "virtual mode" which causes the grid to only load the visible data. So if you have 500,000 rows of data but only 100 are visible at a time, the grid will only load the necessary data. But if you have groupings, summaries or filters the grid needs to process the entire set of data so it will load the entire set of data.
In my case, at first I looked for the infragistics dll's by doing search on my computer.
It ran very slowly in disributed machines, but in my machine it was faster. ngen didn't help
I created a windows setup project.
I installed it, and took the dll's from the folder that has been created, then it was much better.
Still I use many dll's and still it was quiet slow, in my computer and distributed computers.
I tried ngen in my computer and it helps. I havent tried yet ngen in distributed computers but I assume it
shall work.
For us it will also be difficault to do ngen for all distributed machines, but I think we will have to find a way to do it.
Hi.
Can you tell, what do you mean by 2 versions?
I have practically the same problem: when my collegue develops an application, on his machine it runs fast. We are using NetAdvantage for .NET 2008 Vol. 2 CLR 2.0.
When I copy it to mine, it takes 5 seconds to display a form with one Ultra button and one Ultra text editor and I can SEE how the two controls are beeing rendered. If .NET button and textbox are used, it takes less than 1s to display.
This situation occurs on VS 2008, building application for .NET 3.5. I tried switching to 2.0, same result. I am running Vista x64. I tried to build the x86 version same effect.
The only difference for may case was, that precompilig the assemblies with ngen.exe solved the problem. After ngen, the plain .NET solution and Infragistics solution had the same performace - both under 1s.
If possible i would really like to know how to avoid precompilig with ngen, because this breaks our concept of xcopy deploy.
Tadej
It seems that I used the wrong dll's.
I think there are 2 versions of the Infragistics dll's, and I used the version which is heavier.
(It fits for developing, but not for disribution.)
Anyway, now I use the right dll's, and its O.K.
Submit an incident to Infragistics Developer Support
I applied NGEN to all the dll's of infragistics involved (there were 5), and it didn't help.
For one of the users we installed the infragistics, and this did help.
I think it must be a very common thing, and that there is a common solution for it
in Infragistics company.
Who can help me?