on the page we add parameter AsyncPostBackTimeout to the ScriptManager
<asp:ScriptManager ID="ScriptManager1" runat="server"
AsyncPostBackTimeout ="360000"/>
and in web.config we add additional option
<httpRuntime maxRequestLength="1024000"
executionTimeout="999999"/>
</system.web>
</configuration>