TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
357
121.2k
A pause in method needed before execution of another method
May 2 2012 12:19 PM
Hi
I wondered if anyone knew of a "Pause" or "Delay" type piece of code I could use to delay a method execution within a method.
What I have is:-
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
MyShoppingCart usersShoppingCart = new MyShoppingCart();
String cartId = usersShoppingCart.GetShoppingCartId();
CheckOutHeader.InnerText = "Thank You - Your Order is Complete! Please wait whilst you are directed to PayPal...";
ImageButton1.Visible = false;
TotalAndOrderToPP(usersShoppingCart, cartId);
I ideally want some sort of pause or delay of say a second before the TotalAndOrderToPP is involked?
Regards
Steven
Reply
Answers (
3
)
String was not recognized as a valid DateTime
Java script,ajax,jquery,html,css and iis