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