Slow When Loading RadForm

9 posts, 0 answers
  1. Seow BC
    Seow BC avatar
    7 posts
    Member since:
    Jul 2007

    Posted 14 Nov 2011 Link to this post

    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.
  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 17 Nov 2011 Link to this post

    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.

  3. UI for WinForms is Visual Studio 2017 Ready
  4. GAUTHE
    GAUTHE avatar
    2 posts
    Member since:
    Jun 2011

    Posted 15 Dec 2011 Link to this post

    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
  5. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 20 Dec 2011 Link to this post

    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.

  6. Jose Roberto Pereira
    Jose Roberto Pereira avatar
    3 posts
    Member since:
    Oct 2012

    Posted 01 Apr 2015 in reply to Peter Link to this post

    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?


  7. Jose Roberto Pereira
    Jose Roberto Pereira avatar
    3 posts
    Member since:
    Oct 2012

    Posted 01 Apr 2015 in reply to Peter Link to this post

    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?
  8. Hristo
    Admin
    Hristo avatar
    716 posts

    Posted 06 Apr 2015 Link to this post

    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.

     
  9. Jose Roberto Pereira
    Jose Roberto Pereira avatar
    3 posts
    Member since:
    Oct 2012

    Posted 10 Apr 2015 in reply to Hristo Link to this post

    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!

  10. Hristo
    Admin
    Hristo avatar
    716 posts

    Posted 15 Apr 2015 Link to this post

    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.

     
Back to Top
UI for WinForms is Visual Studio 2017 Ready