I am using timer_Tick with update panel and also updateprogress 

By the help of timer_tick I am able to execute function till 40 second(according to my time).My problem is Unless time_tick event is in progress my update progress should be shown .Right now it get disappeared 

here is my Pseudo code

<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </cc1:ToolkitScriptManager>
    <asp:Timer runat="server" id="timer" Interval="5000" OnTick="timer_Tick">
    </asp:Timer>
    <asp:UpdatePanel runat="server" id="updatepanelmain">
        <triggers>
           <asp:AsyncPostBackTrigger ControlID="timer" EventName="Tick" />
    </triggers>
        <contenttemplate>
<asp:UpdateProgress id="up_prgs" runat="server" AssociatedUpdatePanelID="updatepanelmain">
            <progresstemplate>
            <img src="../../../../../ProgressBar.gif" />
         </progresstemplate>
        </asp:UpdateProgress>
    </contenttemplate>

 </asp:UpdatePanel>