thread.sleep is not working propely
<p>My Purpose:Creating an imagebutton once it is clicked the consumer ought to wait 4 seconds while he is waiting images on the top of the webpage should change automaticly.
What I tried so far:</p>

<pre><code>protected void Page_Load(object sender, EventArgs e)

{


}
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
    int counter = 0;
    while (counter &lt; 4)
    {
        counter++;
        Image2.ImageUrl = "../images/" + counter + ".jpg";
        System.Threading.Thread.Sleep(1000);
    }

    Response.Redirect("../Home.aspx");

}
</code></pre>

<p>I haven't got the same consequences as mentioned earlier. anyone have either solution for solving the problem or a new idea? thnx in advance</p>
