Setting provider on another thread

2 posts, 0 answers
  1. AdaDog
    AdaDog avatar
    33 posts
    Member since:
    Feb 2010

    Posted 21 Nov 2011 Link to this post

    I have a WPF Map control in a UserControl initially having Visibility set to Hidden.  The provider for the map is set while its containing parent UserControl is hidden, and the Window holding the UserControl hangs for a long time (longer for lower Internet bandwith) waiting for the Provider setter to execute.  When I comment out setting the Provider property, the Window/UserControl loads quickly.  I tried to defer setting the provider until the UserControl visibility changes, but the setter is still slow and hangs the application.  Is there a way to set the provider on a separate thread or otherwise improve the performance of setting the Provider property?
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 24 Nov 2011 Link to this post

    Hi Doug Simpson,

    Unfortunately the map provider could not be initialized on a separate thread.

    We are unable to reproduce the problem.
    Could you, please, provide us with a small sample runnable solution which reproduces it?

    Kind regards,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top