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

  • Home
  • SEARCH
  • 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 7527045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:00:29+00:00 2026-05-30T04:00:29+00:00

I am creating a background worker thread and Loading data in it and showing

  • 0

I am creating a background worker thread and Loading data in it and showing in UI.
I know the problem is while showing the data in UI(because it is a UI thread)
But i get the data from server in form of blocks .
Suppose for the first time receive 10 records then i have to update the Ui and then call the next records.

How to resolve this Issue ?
Thanks.

  • 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-05-30T04:00:31+00:00Added an answer on May 30, 2026 at 4:00 am

    If you are using a BackgroundWorker you have to make use of the report progress feature.

    What I usually do is to do the work required inside the DoWork method, and when you want to update the GUI, call worker.ReportProgress with the needed data. Then in the report progress method, update the GUI since that method will be run on the GUI thread. Also make sure you set WorkerReportsProgress to true, else you will get an exception when trying to call ReportProgress.

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

Sidebar

Related Questions

Edit : I solved the problem by creating the background worker by creating it
Ok, I recently implemented a background worker to perform saving and loading of data.
Coming from a C# Background I never used any pointers. I'm creating a vector
i'm creating asmx web service and have to create thread to do background IO
I've been analyzing a WPF application which basically fetch data from a server and
I come from a Java background and recently decided to try creating a C++
In a WPF application I had a BackgroundWorker thread creating an object. Let's call
A little background: I'm creating a set of adapters to allow communication with mobile
I am creating a simple gradient background by drawing a quad as follows: glMatrixMode
I creating a program which send newsletter with a background image. It works fine

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.