Hello,
I have the following:
ajax update panel. Inside it, there is an ajax timer.
In the Timer_tick there is a Response.Redirect("MyPage.
The problem is that the timer fires only once. After the first response.redirect("MyPage.
The hta page is needed to run an exe file.
What am I doing wrong? Is there another way to do it?
Here my code:
<asp:UpdatePanel ID="updQuality" runat="server">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="TimerQuality" EventName="Tick" />
</Triggers>
<ContentTemplate>
<asp:Timer ID="TimerQuality" runat="server" ClientIDMode="Static" Interval="10000" />
<div>
<asp:CheckBox ID="chkManageQualityAutoma
</div>
<div>
<asp:Label ID="lblTime" runat="server" Text=""></asp:Label>
</div>
</ContentTemplate>
</asp:UpdatePanel>
Protected Sub TimerQuality_Tick(sender As Object, e As System.EventArgs) Handles TimerQuality.Tick
response.redirect("MyFile.
End Sub
↧
timer redirect to hta from asp.net page
↧