This is a migrated thread and some comments may be shown as answers.

slow load for first time

3 Answers 635 Views
GridView
This is a migrated thread and some comments may be shown as answers.
bishoy
Top achievements
Rank 1
bishoy asked on 21 Oct 2010, 05:07 PM
i have a problem while loading a screen contains some of Telerik controls such as : gridview and radbuttons and and raddatetime and ....

the problem in slow performance for the first time i open that screen for other times it worked faster.

3 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 21 Oct 2010, 05:12 PM
Hi,

have a look at this forum post

it gives a couple of suggestions with a link to a knowledge base article on speeding up the RadGridView and also using NGEN to create native images which will help with first time load speed.

hope that helps
Richard
0
Accepted
Emanuel Varga
Top achievements
Rank 1
answered on 21 Oct 2010, 06:03 PM
Hello Bishoy,

This happens because all of the Telerik controls are themed, so it takes longer to load, because it is not just loading the controls, but also applying themes and other visual artifacts.

There are a few ways of improving performance, like disabling all the animation effects in the application (the most drastic one),
For your case i would suggest using a SplashScreen, this one actually looks good, plus you could add your own customizations very easy, like a telerik progress bar, maybe some transparency and it will provide way of letting the users know that the application is starting. (plus, after the first launch it will use the registry to store the previous launch timer required).

Hope this helps, if you have any other questions or comments, please let me know,

Best Regards,
Emanuel Varga
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 21 Oct 2010, 11:40 PM
Hi again,

I agree with Emanuel that the themes take the time to load along with the animation effects. It's best (if you can) to reduce the number of themes that are loaded also.

I've used this splash screen suggested before and it's certainly one of the better ones, though in my view, the other suggestion made by Emanuel together with performing an NGEN on the executable and dependant assemblies are the route to improving the performance rather than masking the slower load by using a splash screen.

Let us know how you get on with it.
Best regards,
Richard
Tags
GridView
Asked by
bishoy
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Emanuel Varga
Top achievements
Rank 1
Share this question
or