Asynchronous assignment of Bing Provider

2 posts, 0 answers
  1. DMC Helpdesk
    DMC Helpdesk avatar
    52 posts
    Member since:
    Nov 2007

    Posted 19 Feb 2012 Link to this post


    I am using WCF data service to fetch spatial objects (polygon) from SQL Server database and render them on the information layer.Everything was working fine until I decided to have my calls Asynchronous, in which I have a callback method to assign my polygon list to a bind-enabled property on my ViewModel (PRISM).My view used to be slow and would hange due to both the synchronous WCF call and the bing provider assignment which seems to freeze the UI. Now my WCF call is Asynchronous and does not freeze the UI, but the bing provider assignment is still freezing the view for about 2 to 3 seconds.Is there any plan to change this provider effects on the UI ?


  2. Andrey
    Andrey avatar
    1681 posts

    Posted 22 Feb 2012 Link to this post

    Hi Madani,

    I can't say exactly about a reason of the freezing of the UI without your solution. But I don't think that the bing provider assignment could be a cause of it. It can occur when you assign your polygon list to a property of ViewModel. I think that the property is bound to the ItemsSource property of an information layer. In this case the layer should process the polygons in the list. So, the processing of them will require a time depending of the length of list.

    All the best,
    Andrey Murzov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top