Click here to Skip to main content
12,242,449 members (52,758 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET C#4.0
hello Smile | :)

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 12-Jan-13 14:50pm
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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
v2

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 12 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100