I got this simple part of the code
if (Request.QueryString["TimeZone"] != null)
{
Response.Write(
@"<script language='javascript'>alert('TimeZone refreshed, u can now continue');</script>");
Button1_Click(null, null);
}
When I run this the application, it will just pass over the alert and run the button click action.
Question
How can I create a delay between those actions? I want give the client the alert and just after that perform the Button1_Click
action.