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

Slow When Loading RadForm

8 Answers 727 Views
Form
This is a migrated thread and some comments may be shown as answers.
Seow BC
Top achievements
Rank 1
Seow BC asked on 14 Nov 2011, 04:14 PM
Hi, my name is Steven from a software company. We are developing a project to the government using Telerik Window Component.
We are facing an slow performance issues in the client PC with the RadForm. 

1) When I tried double click the .exe file to load the first page (We use RadForm as first page) of the window application. The Form only contained 2 RadTextbox and 2 RadButton, but it took 10 seconds to be appeared after double clicked on the .exe. The form doesn't have any connection to the database.

2) When I tried to click to open another form (RadForm), it took about 11 seconds to complete loading the form (This form contained more telerik controls).
 
Does it caused the slowness with more than 20 Rad Controls in a page?

Appreaciate if anyone could help me on this issues.

Thanks.

8 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Nov 2011, 05:15 PM
Hello Seow Bc,

Thank you for writing.

Please refer to the following knowledge base articles where this topic and some possible solutions are discussed:
Make your Telerik WinForms-enabled applications start instantly.
Performance considerations.

I hope this helps.

Kind regards,
Peter
the Telerik team

Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

0
GAUTHE
Top achievements
Rank 1
answered on 15 Dec 2011, 06:41 PM
hi, my name's candide. i have the same probleme whith loading the RadForm at first time. I just read the answer provides by peter but it don't help me at all. i'd like someone else help or ask peter another solution. 

the problem is that, when loading any radForm at thirst time, their takes too more time before apearing. tks for the help
0
Peter
Telerik team
answered on 20 Dec 2011, 02:52 PM
Hi Candide,

Thank you for writing.

When loading an application for the first time all controls should be initialized and themes should be loaded. Unlike the default WinForms controls our suite offers animations and themes and loading them takes its time. This time increases when using a lot of controls like in your application.
The following KB articles summarize all possible way that we know to optimize your application.
Make your Telerik WinForms-enabled applications start instantly.
Performance considerations.

However, could you please provide more information about your case? I would kindly ask you to send a sample project which demonstrates your scenario. This will allow us to investigate your specific case and think about the possible ways to optimize it. Please note that you have to open a new support ticket in order to be able to attach your files.

All the best,
Peter
the Telerik team

Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

0
Jose Roberto Pereira
Top achievements
Rank 1
answered on 01 Apr 2015, 06:02 PM
Hi,
I have a legacy app that opens some forms in a Telerik app (We're trying to migrate the whole application).
So, I'm calling the C# .exe with args to open a Form, it takes a while to load Telerik resources.
I'm trying to let this C# .exe open in background to call it and open the form in a new thread.
How can I send the arguments to this open Application?


0
Jose Roberto Pereira
Top achievements
Rank 1
answered on 01 Apr 2015, 06:04 PM
I noticed when Telerik is installed on developers machine, the radForms opens instantly.

Is there a way to load all Telerik resources and keep them in memory?
0
Hristo
Telerik team
answered on 06 Apr 2015, 10:50 AM
Hello Jose,

Thank you for writing.

Let me get straight to your questions:
1. The Process.Start method automatically runs on a separate thread and it accepts arguments where you can pass your data. You can find additional information here: Process.Start Method
2. On a developer machine the Ngen.exe (Native Image Generator) cache allows a faster loading time. I think that you can find the following blog post useful: NGen: Creating Setup Projects
3. Yes, there is a way to keep all resources in memory and start the Telerik app instantly: Make your Telerik WinForms-enabled applications start instantly

I hope this information is useful. Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Jose Roberto Pereira
Top achievements
Rank 1
answered on 10 Apr 2015, 07:40 PM

Hi Hristo,

Thank you for the tips.

But, my application can not stay load.

Can I use NGen.exe to work in client machines? The 2º tip didn't work for me or I don't know how to use it!

0
Hristo
Telerik team
answered on 15 Apr 2015, 01:51 PM
Hi Jose,

Thank you for writing back.

Yes, you can use the Ngen.exe (Native Image Generator) on your client machines because it is part of the .NET Framework. When the app is first started its load time should be improved and the images will be cached by the .NET Framework. The Ngen basically does pre-compilation and stores the produced code in "native images" which are referred as the "Ngen cache". These articles provide additional information: Deployment and Ngen.exe, Performance and FeaturesNGen in Visual Studio

The following blog post discusses the performance of the Telerik RadControls and answers some frequently asked questions: Performance considerations

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Form
Asked by
Seow BC
Top achievements
Rank 1
Answers by
Peter
Telerik team
GAUTHE
Top achievements
Rank 1
Jose Roberto Pereira
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or