Hey, Just try this while your PostBack Button outside asp:UpdatePanel
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "scr", "javascript:showprogress();", true);
If the PostBack button inside UpdatePanel You MUST use ID of current UpdatePanel instead "this"
ScriptManager.RegisterClientScriptBlock(UpdatePanel1, this.GetType(), "script", "showprogress();", true);
If you are using ScriptManager.RegisterClientScriptBlock inside a timer you should keep some delay between Timer_Tick() a minimum of Interval="1000"
Note : Test with button click then change to Timer_Tick()