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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:45:02+00:00 2026-06-16T12:45:02+00:00

I am using multi-threading to update/display the content of page. Page is using multiple

  • 0

I am using multi-threading to update/display the content of page. Page is using multiple ( and nested ) update panels. Right now, i am using following logic to update page.

I have seven threads, each thread gets data by querying database and display them in specific section of page. We start threads and wait for 2 mints, after passing 2 mints if some threads still working then we break those and display the populated data on page, these calls to thread are making on page load event.

Problem here is that we must need to wait for specific time before page load, and then after that time limit, page ‘ll be displayed with populated data. Users need to wait for long to see the page, which making a really bad impression.

If we remove the limit of 2 mints, then page rendered fast but it does not display all data.

What i want here, when we call threads, we don’t need to wait for all, when one thread completes it should show its data on page, and as soon as other threads being complete then they should display their data accordingly.

  • 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-16T12:45:03+00:00Added an answer on June 16, 2026 at 12:45 pm

    I found solution of this problem after testing many techniques.

    To implement this, we don’t need to use threading. When we call a page, server makes an object of this page and perform all required executions and then it render this page, destroy its object on server and send rendered page to Client Browser. So after rendering we can’t receive thread’s response. To receive thread’s response, we must have to stop page being rendered explicitly (it causes delay, which we don’t want).

    So our solution is using JSON Ajax API with Web Methods (with Serialization and Deserialization if you are dealing with complex objects).

    We have to load page with all controls on it, onload event of page, call javascript method which call Web Method using JSON API, after receiving response from Web Method, we have to update respective controls using JavaScript/JQuery manually.

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

Sidebar

Related Questions

I am trying to do multi-threading here, now I have to update my database
I have written a multi threading program in c using openmp. The program has
I am very inexperienced using multi-threading techniques, but here is what I have tried:
I am using multi threading concept to run some process. this process uses the
I am using the console application i used multi threading in the same. I
I am relatively new to multi-threading and want to execute a background task using
I'm using joda due to it's good reputation regarding multi threading. It goes great
I can send requests to friends using Multi Friend Request Selector inside my Page
I have a very bad feeling about using lock in my code but now
I am using Glib to develop a multi-threading C software. I would like to

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.