0
Reply

Update Progress should be on screen or shown unless time_tick event get stoped

mohammad qasim

mohammad qasim

Jan 12 2011 7:26 AM
8.4k
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

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

 &lt;/asp:UpdatePanel&gt;</pre>