CreateResourceDictionaryForApplicationTheme

2 posts, 0 answers
  1. Matthew Adams
    Matthew Adams avatar
    2 posts
    Member since:
    May 2010

    Posted 04 Jul 2011 Link to this post

    Hi --

    I'm working on a client site, and have run into a problem which appears to be related to Theme Resource loading. 

    If I run our SL OOB app with sllauncher with the debug flag (e.g. the default behaviour when you launch from within Visual Studio), then everything is fine.

    If I run the app with sllauncher *without* the debug flag (e.g. having installed to the local machine) then the theme setting [ultimately in Telerk.Windows.Controls.Theme.CreateResourceDictionaryForApplicationTheme()] takes about 4.5s-5s, killing our app perf.

    It appears to be spinning violently hitting various cache-related registry keys while it does this.

    This is true of both debug and release builds - it is entirely dependent on that debug flag for sllauncher.exe

    Any ideas?

    Thanks,

    Matthew
  2. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 05 Jul 2011 Link to this post

    Hello Matthew,

    We don't know have any debug/release differences in our code and we definitely don't access any registry keys.
    Could you send us your application and exact steps to reproduce the problem?
    This way we may be able to identify what is causing this performance hit.

    p.s. you need to open a support ticket in order to attach files.

    Kind regards,
    Hristo
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top