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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:19:43+00:00 2026-05-23T04:19:43+00:00

Getting to grips with ASP.Net Ajax I’ve got a simple UpdatePanel with an associated

  • 0

Getting to grips with ASP.Net Ajax

I’ve got a simple UpdatePanel with an associated UpdateProgress which I’m using to tell a user their shopping cart has been added to.

Is it OK to use System.Threading.Thread.Sleep(5000); in the code behind so the user can actually see the UpdateProgress? Or is this bad practice? If it is what’s the best thing to do?

  • 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-23T04:19:43+00:00Added an answer on May 23, 2026 at 4:19 am

    It is bad practice, if the user is on a slow connection you are going to make them wait an extra 5 seconds for an update.

    If you wish to show someone the loading screen do a shorter wait like .5 of a second.

    System.Threading.Thread.Sleep(500);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the specs: ASP.NET 3.5 using ASP.NET AJAX AJAX Control Toolkit jQuery 1.3.2 web
I'm just getting to grips with JPA in a simple Java web app running
I'm just getting to grips with Tomcat and mySQL using the resource sharing method.
I seem to be having trouble getting to grips with implementing a simple JTable
Just getting to grips with this jquery and ajax thing. I want to run
I'm still getting to grips with defining and using Arrows in Haskell. While defining
I'm getting to grips with RPC in Windows and I've got a basic client/server
I’m just getting to grips with Jquery. Issue: I want a user to be
I'm still getting to grips with C Sharp and .NET and I am working
I'm just getting to grips with Doctrine, and using the suggested lazy loading of

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.