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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:01:00+00:00 2026-05-31T20:01:00+00:00

I have come across quite a wired problem right now. I am using ASP.NET

  • 0

I have come across quite a wired problem right now.

I am using ASP.NET in Visual Studio 2010. Now I have a huge processing plus network integration to do when the user clicks a button. Point saying is that it takes a lot of time (about 1-1.5 minutes) for the response. Till then, i have to tell the user to be patient and do not refresh the page. I tried this as the first line of buttons :

label.visible=true;//label is initially set to invisible and has text that says user to be patient.

NO LUCK!!!

Next I also tried
Response.Write(“alert(‘Please be patient.’)”);

NO LUCK!!!

It is not that these statements are not executed. They are! But there are actually done after the processing time is over. i.e. user is told to be patient after the operation is done!

I know there is some concept called autopostback, but i can’t find a method that allows autopostback of a label or an instruction. Can anyone save my day???

  • 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-31T20:01:02+00:00Added an answer on May 31, 2026 at 8:01 pm

    You probably need to look at some javascript on the client, that is run at the point the user initiates this process. If (for example) you are initiating the process via a normal asp:Button then put in something like…

    <asp:Button runat="server" id="btnInitiate" OnClientClick="document.lblPleaseWait.style.display='';return true;" Text="Initiate"/>
    <asp:Label runat="server" id="lblPleaseWait" style="display:none;">Please Wait</asp:Label>
    

    I know nothing about jquery, but I’m led to believe that would give you much better access to the label object within the DOM.

    You might also want to disable the btnInitiate button to stop them repeat clicking. For this you’d need to investigate the UseSubmitBehavior=”false” property

    (Also, you misunderstand the “autopostback” property. It means that the control – when changed / clicked / etc – will automatically post back the form to the server. It is nothing to do with the response back from the server.)

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

Sidebar

Related Questions

I have come across a quirky feature in Visual Studio and I was interested
I've come across a very interesting problem.. quite lost actually. Suppose I have a
I have been using C# for quite some time, and have suddenly come across
I have just come across something that is quite strange and yet I haven't
I have come across what must be a common problem. When I have an
I have come across a very weird error. I'm on Solaris 10, using Ruby
I'm writing a C# DKIM validator and have come across a problem that I
This is an interesting problem I've come across that I feel should have an
I have been designing a program using Visual C# and have came across an
This should be quite a simple problem, I've come across it enough that there

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.