Hi,
You can use Server.ScriptTimeout to change the request's executing timeout
value:
protected void button1_Click(object sender, EventArgs e)
{
Page.Server.ScriptTimeout = 120; // seconds
Thread.Sleep(100 * 1000);
}
Regards,
Walter Wang (, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
|