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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:55:46+00:00 2026-06-01T05:55:46+00:00

I would like to display a message for a few seconds before moving on

  • 0

I would like to display a message for a few seconds before moving on to executing code that follows.
How can I do this in C#?

page load ()....
{
    label1.text="Thank you for your input";
    Delay by 3 seconds??? before entering codeX
    codeX....
    code....
}

Is it as simple as using a wait(3000)?

Clarifying my Question:
I am creating a survey web part in sharepoint and would like to display the message “Thanks for your vote” for 3 seconds before rendering the results of the survey. I am assuming I could use the timer inside of an AJAX update panel, that way It wouldnt affect the rest of the page? I hope this clarifies my Question. Please let me know, the best way I can implement this. 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-06-01T05:55:48+00:00Added an answer on June 1, 2026 at 5:55 am

    Use Javascript to show and hide your message.

    <script type="text/javascript">
       $(document).ready(function () {
           $(".message").show();
           $(".message").delay(5000);
           $(".message").fadeOut(2000);
       });
    </script>
    

    with a div on your page:

    <div class="message">Thanks for your input</div>
    

    this can be on your redirected page. Or you can call the function on the curernt page if your not redirecting, in which case you will need to change the ready call to your own call.

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

Sidebar

Related Questions

In JSF page I would like to display a message for a few seconds
I would like to set up an error page which will diplay a message
I would like display something more meaningful that animated gif while users upload file
I would like to display the up time of the machine my code is
I would like to display error message in the field it is for. I
I would like to display thank you message after adding comment only for the
I would like to implement the Post/Redirect/Get pattern in a page that will post
I'm creating a bash script and would like to display a message with a
I would like to display details of an xml error log to a user
I would like to display some memory statistics (working set, GCs etc.) on a

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.