Image has to change on browser continuously and automatically when image is changed on web server (ASP.NET)
<p>I have created a desktop application which continuously changes the image on a fixed path and fixed filename 00.jpg. The image is in the path of my web site folder. The image is viewed on browser by . But the image is not changing continuously on the browser.</p>

<p>I tried using both client (javascript) and server (asp.net) timers but It does not result.
Here is my ASP.net AJAX Timer code and markup:</p>

<pre><code>&lt;form id="form1" runat="server"&gt;
    &lt;div&gt;
        &lt;asp:ScriptManager runat="server"&gt;&lt;/asp:ScriptManager&gt;
        &lt;asp:UpdatePanel ID="up1" UpdateMode="Conditional" runat="server"&gt;
        &lt;ContentTemplate&gt;
            &lt;asp:Image ImageUrl="00.jpg" ID="img1" runat="server" /&gt;
            &lt;asp:Timer ID="Timer1" runat="server" Interval="100" ontick="Timer1_Tick"&gt;&lt;/asp:Timer&gt;
        &lt;/ContentTemplate&gt;
        &lt;Triggers&gt;
        &lt;asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" /&gt;
        &lt;/Triggers&gt;
        &lt;/asp:UpdatePanel&gt;            
    &lt;/div&gt;
&lt;/form&gt;

protected void Timer1_Tick(object sender, EventArgs e)
{
    string xx = Request.Url.AbsoluteUri;
    xx = xx.Replace ("Default.aspx","00.jpg");
    img1.ImageUrl = xx; up1.Update();
}
</code></pre>
