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.
hmm. not sure on that one, sorry. are you using any complex layout or styling of the grid? are you using app styling? do you still have this performance hit if it is simply the default grid with no changes?
Just the default grid
If the delay only happens the first time you load a form with the grid, then it's most likely the JITting of the assembly that is causing it. The only way around something like that would be to pre-JIT the assembly. I'm afraid I know very little about that, but I think there's a utility called NGEN that does it included with Visual Studio.
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?
Submit an incident to Infragistics Developer Support
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.