by nolovelust
19. February 2010 21:36
Just put functions below to your codebehind and it will work fine
private int timeOut;
private void Page_Init(object sender, System.EventArgs e)
{
timeOut = Server.ScriptTimeout;
// Give it 1 mins = 600 seconds
Server.ScriptTimeout = 600;
}
private void Page_Unload(object sender, System.EventArgs e)
{
Server.ScriptTimeout = timeOut;
}