Hi May be its late.. however...
include
Thread.sleep(100);
for every increment
ex:
Collapse | Copy Code
protected void Button3_Click(object sender, EventArgs e)
{
Thread t1 = new Thread(Method1);
Thread t2 = new Thread(Method2);
t1.Start();
t2.Start();
t1.Join();
t2.Join();
}
void Method1()
{
for (int i = 0; i < 10000; i++)
{
Thread.sleep(100);
Response.Write("hello1"+i);
Response.Write("<br>");
}
}
void Method2()
{
for (int i = 0; i < 10000; i++)
{
Thread.sleep(100);
Response.Write("Ernst" + i);
Response.Write("<br>");
}
}