Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8745641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:03:59+00:00 2026-06-13T12:03:59+00:00

I have a slow data source, so I create it asynchronously. Also, many properties

  • 0

I have a slow data source, so I create it asynchronously. Also, many properties of my viewmodel are themselves slow. Hence, I make them asynchronous too (binding to a Telerik property grid):

<Grid>
  <Grid.DataContext>
    <ObjectDataProvider ObjectType="{x:Type viewModels:MyViewModel}"
      IsAsynchronous="True" x:Name="myViewModel" />
  </Grid.DataContext>
  <telerik:RadPropertyGrid x:Name="settings" Item="{Binding IsAsync=True}">
    <telerik:RadPropertyGrid.PropertyDefinitions>
      <telerik:PropertyDefinition
        Binding="{Binding Path=SlowProperty,IsAsync=True,Mode=TwoWay}" />
    </telerik:RadPropertyGrid.PropertyDefinitions>
  </telerik:RadPropertyGrid>
</Grid>

When debugging, I can see that the data source is indeed created in another thread, hence not blocking the UI. However, when I get into SlowProperty the debugger reveals that I’m still in the Main Thread – which is proven by the fact that the UI hangs until the property returns.

Q: What am I missing here? Isn’t IsAsync sufficient for asynchronous properties?

Edit: It seems this works for a normal TextBlock. Is the IsAsync behavior dependent on the implementation of a control? (In this case I suspect a bug in the property grid.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:04:00+00:00Added an answer on June 13, 2026 at 12:04 pm

    You are always ecouraged to use IsAsync Binding with PriorityBinding. GUI will wait until property is executed. But with PriorityBinding it will check if the first Binding property is slow, if so, it will select the next placeholder binding (which should be fast). But when the slow property is evaluated, it would become the active value by the binding.

    <TextBlock>
     <TextBlock.Text>
      <PriorityBinding FallbackValue="defaultvalue">
        <Binding Path="SlowestProp" IsAsync="True"/>
        <Binding Path="SlowerProp" IsAsync="True"/>
        <Binding Path="SurelyFastProp" />
      </PriorityBinding>
     </TextBlock.Text>
    </TextBlock>    
    

    In your case, you can simply set some defaultValue instead of giving multiple bindings.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a slow custom data source in a SSIS Dataa Flow Task.I have
I have two test cases using a reasonably large json object (1.2mb): source: data
I have a slow connection that I need to send a PNG image over
I have read that gwt-ext is slow and it seems too bulky. How does
I have heard a lot that PHP is slow compared other languages. Is the
I have the following scenario jQuery('#content').fadeOut('slow',function(){ jQuery('#content').load(detail.php?product=+imgID+&category=+cat); jQuery('#content').fadeIn('fast'); }); My problem however is that
I have a LINQ to Entity query that is running really slow. This query
I have a GUI app that is getting to be quite slow. I want
I have a PC with a good CPU but slow GPU (integrated graphics card).
I have the following jQuery: $(#toolbar).hover(function () { $(.logo).fadeOut(slow, function () { $(this).addClass(logohover) $(this).parent().addClass(logohover).fadeIn(slow,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.