Ininitalization for RadDropDownButton takes .69 sec - Why?

5 posts, 0 answers
  1. James
    James avatar
    5 posts
    Member since:
    Sep 2006

    Posted 09 Dec 2007 Link to this post

    Hello everyone,

    All other controls called in InitializeComponent() take milliseconds. However when the RadDropDownButton is ininitialized within my forms designer class, it takes .69 seconds.

    Here is the call:
    this.radDropDownButton1 = new Telerik.WinControls.UI.RadDropDownButton();

    Is there anyway to decrease this init time?

    Thanks.

    -- Jim
  2. James
    James avatar
    5 posts
    Member since:
    Sep 2006

    Posted 09 Dec 2007 Link to this post

    As it turns out, I guess it's just the first time my Windows Form application starts to use the Telerk DLL.

    How can I decrease the time it takes to first load the Telerik DLL?
  3. UI for WinForms is Visual Studio 2017 Ready
  4. James
    James avatar
    5 posts
    Member since:
    Sep 2006

    Posted 09 Dec 2007 Link to this post

    Nevermind, I found the solution.

    I'm going to NGEN the assemblies, both on my dev machine for my personal use, but also on my applications final setup program, so that my customers can use the ngen'd version.

  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 12 Dec 2007 Link to this post

    Hello James,

    Thank you for the question.

    Although you have managed to solve the problem by yourself, we have prepared a Knowledge Base article to help the other users, who may experience the same issue. The article can be found here: Increase the execution speed of Telerik assemblies.

    Thanks again for bringing this to our attention. If you have any additional questions, please contact us.

    Regards,
    Nikolay
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. James
    James avatar
    5 posts
    Member since:
    Sep 2006

    Posted 12 Dec 2007 Link to this post

    wow. Nice job!

    I tired to at least leave some breadcrumb for users who came to this post, but you left a whole loaf of bread.

    Thanks.
Back to Top
UI for WinForms is Visual Studio 2017 Ready