Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello :)

I want to do some actions at asp.net, and I want some delay between each one, is there a way to do that ?

if there please provide me a code as an example

ex. I want when I press button1, to add some text to label1 , after that wait for 20 sec for example, and add some text to the label ,

some thing like that


thanks in advance : )
Posted
Comments
Sergey Alexandrovich Kryukov 12-Jan-13 21:05pm    
I'm not sure it may make sense, considering the nature of a Web application, where everything happens in response to HTTP request. I would not expect a useful advice unless you clearly explain your purpose.
—SA

1 solution

JQuery, the provide a api called delay() and sleep()
I think you can use that.

Here are the URL

http://api.jquery.com/delay/[^]

May be you can use setTimeout event also
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900