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 8872611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:15:37+00:00 2026-06-14T18:15:37+00:00

This is a side-related question to this other question: BackgroundWorker in Silverlight ViewModel I

  • 0

This is a side-related question to this other question:
BackgroundWorker in Silverlight ViewModel

I have a TabControl where I load many TabItems when the user selects menu options. I load this Tabs by binding the TabControl ItemsSource to an ObservableCollection. When I add a new TabItem to this Collection, it is shown perfectly.

The problem is I’ve realized that since user press a button until the tab is created (ViewModel and View creation takes a couple of seconds), the screen is freezed.

I’ve tried to set “IsBusy” before calling the “loadTab” but it doesn’t shows up… I’ve tried almost everything with async calls but the UI thread is in use and it throws an exception when I create the new tab control.

Is there any trick I’m loosing??? Any ideas??? Thanks in advance.

  • 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-14T18:15:38+00:00Added an answer on June 14, 2026 at 6:15 pm

    have you seen this post?

    http://www.dotnetspark.com/kb/3524-doesnt-your-girlfriend-deserves-more-time.aspx

    It helps when you avoid heavy stuff in the load event and make Visible=true after you finish to load all your resources, so in that sense you avoid the user feeling tempted to click something that is not ready yet.

    Not sure if it helps, but how about this idea?

    public void DoStuff(Object values)
    {
    //your values object could be anything, 
    //they might even be some objects from your form
    //as long as you dont modify them in the other thread
    imgLoading.Visible=true;
    var client = new Proxy();
    client.OnWorkCompletedAsync +=client_OnCompleted() ;
    client.Work(values);
    }
    
    void client_OnCompletedAsync(object sender, EventArgs e)
    {
        imgLoading.Visible=false;
        //now you can update the UI with other stuff
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have one problematic question on custom validator at client side in asp.net? This
I am very new to Silverlight development. I understand that this is client side
This question came up from what I see on a clients side: Intermittent Connection
This question somehow addresses the problem, but not from the side I'm looking for.
This question is related to one I asked previously, see here . As a
I am asking this question from an architectural point of view. I have been
I'm creating a forum which have some what similar look as this! A user
This question is related to another thread, you can read here: Forms authentication with
[Disclosure: This question is slightly related to my previous question .] As you can
All right, this question requires a bit of reading on your side. I'll try

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.