<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>[How Do I:] Use the ASP.NET AJAX Timer Control?</title><link>http://www.asp.net</link><pubDate>Wed, 29 Aug 2012 21:29:47 GMT</pubDate><generator>umbraco</generator><description>Comments for [How Do I:] Use the ASP.NET AJAX Timer Control?</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/33605" rel="self" type="application/rss+xml" /><item><title>Comment Posted by m_coomer146</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Sat, 15 Mar 2008 09:33:39 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000987</guid><description><![CDATA[ <p>You can also use the time to redirect after a submission. If a user joins your site they are usually directed to a confirmation page. &#160;On the confirmation page you can set the timer to redirect the user back to your home page or to the login page. </p> <p>&lt;html dir=&quot;ltr&quot; xmlns=&quot;&lt;a rel=&quot;nofollow&quot; target=&quot;_new&quot; href=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&quot;&gt;www.w3.org/.../xhtml&quot;&gt;&lt;/a&gt;</p> <p>&lt;script runat=&quot;server&quot;&gt;</p> <p> Protected Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs)</p> <p>  Response.Redirect(&quot;~/Default.aspx&quot;)</p> <p> End Sub</p> <p>&lt;/script&gt;</p> <p>&lt;body&gt;</p> <p>&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;</p> <p>&lt;h1&gt;Submission successful!&lt;/h1&gt;</p> <p><p>Thank you for your submission</p></p> <p><p>If you are not redirected in 5 seconds, click &lt;asp:HyperLink runat=&quot;server&quot; ID=&quot;lnkredirect&quot; NavigateUrl=&quot;~/Default.aspx&quot; Text=&quot;here&quot;&gt;&lt;/asp:HyperLink&gt;</p> <p> </p></p> <p> &lt;asp:ScriptManager ID=&quot;ScriptManager1&quot; runat=&quot;server&quot;&gt;</p> <p> &lt;/asp:ScriptManager&gt;</p> <p> &lt;asp:Timer ID=&quot;Timer1&quot; runat=&quot;server&quot; EnableViewState=&quot;false&quot; Interval=&quot;5000&quot; OnTick=&quot;Timer1_Tick&quot;&gt;</p> <p> &lt;/asp:Timer&gt;</p> <p>&lt;/form&gt;</p> <p>&lt;/body&gt;</p> <p>&lt;/html&gt;</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/m_coomer146.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by netnorvin</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Sat, 21 Jun 2008 03:25:13 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000988</guid><description><![CDATA[ <p>Hi Joe,</p> <p> &#160; &#160; &#160; First of it was g8 demo &amp; i luved it.But i need to know one thing.Suppose I am trying to connect to a External &#160;website or URL.How will i able to catch/handle the exception </p> <p>within my application if the WebSite/ref URL is Down.Most of the time i get a Parse error.</p> <p>Thank you !!! &#160; &#160; &#160; &#160;</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/netnorvin.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cv_vikram</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Wed, 06 Aug 2008 13:54:42 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000989</guid><description><![CDATA[ <p>Very good tutorial...thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/cv_vikram.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Karina Northen</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Thu, 04 Sep 2008 08:31:33 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000990</guid><description><![CDATA[ <p>I can’t understand why in &#160;AJAXEnabledWeb Site &#160;not working this code?</p> <p> &#160;Dim PictureNumber As Integer</p> <p> &#160; &#160;Protected Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick</p> <p> &#160; &#160; &#160; &#160;Select Case PictureNumber</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;Case 1</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;Image.ImageUrl = &quot;~/images/karina_1.jpg&quot;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;Case 2</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;Image.ImageUrl = &quot;~/images/karina_2.jpg&quot;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;Case 3</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;Image.ImageUrl = &quot;~/images/karina_3.jpg&quot;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;Case 4</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;Image.ImageUrl = &quot;~/images/karina_4.jpg&quot;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;Case 5</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;Image.ImageUrl = &quot;~/images/karina_5.jpg&quot;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;Case 6</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;Image.ImageUrl = &quot;~/images/karina_6.jpg&quot;</p> <p> &#160; &#160; &#160; &#160;End Select</p> <p> &#160; &#160; &#160; &#160;PictureNumber += 1</p> <p> &#160; &#160; &#160; &#160;If PictureNumber &gt; 6 Then</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;PictureNumber = 1</p> <p> &#160; &#160; &#160; &#160;End If</p> <p> &#160; &#160;End Sub</p> <p>Haw get timer not to stop here after 6 ticks?</p> <p> &#160; &#160;Protected Sub Timer2_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer2.Tick</p> <p> &#160; &#160; &#160; &#160;Dim n As Integer = New Random().Next(1, 6)</p> <p> &#160; &#160; &#160; &#160;Image6.ImageUrl = &quot;~/images/karina_&quot; + n.ToString + &quot;.jpg&quot;</p> <p> &#160; &#160; &#160; &#160;Image6.Visible = True</p> <p> &#160; &#160;End Sub</p> <p>Please help …</p> <p>Karina.</p> <p>e-mail: karina.northen@talktalk.net</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Karina%20Northen.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by djibril_chimere_DIAW</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Tue, 30 Dec 2008 06:21:59 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000991</guid><description><![CDATA[ <p>Thanks! J&#235;r&#235;j&#235;f!</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/djibril_chimere_DIAW.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by alfredo</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Sat, 24 Jan 2009 19:43:44 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000992</guid><description><![CDATA[ <p>Thanks Joe, great technique and nice comments by the audience. I take it a dynamic cache table may be used in a similar situation for a different application.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/alfredo.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jemmeli</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Sat, 04 Apr 2009 04:45:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000993</guid><description><![CDATA[ <p>please is it possible to create the same work as the video but the code created dynamically by the vb.net (such as the triggers and the images and link buttons are all created dynamically) ?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/jemmeli.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by reza rahgozar</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Sat, 15 Aug 2009 06:12:07 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000994</guid><description><![CDATA[ <p>Hi</p><p>Can I Use This Code For Repeater And Bind From DATABNAK</p><p></p><p>Thanks A lot</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/reza%20rahgozar.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ulhass</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Fri, 23 Oct 2009 11:53:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000995</guid><description><![CDATA[ <p>Hi,</p><p></p><p>Nice article!</p><p>how to use progress bar in the same example?</p><p>Thank you.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/ulhass.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Chrishay</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Thu, 28 Jan 2010 11:36:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000996</guid><description><![CDATA[ <p>Hi Joe</p><p>I&#39;ve created this example on a MasterPage then created a Content page from this masterpage..</p><p>The content page doesn&#39;t show the images.</p><p>Am I missing something to make this work.</p><p>Thanks Chris</p><p>PS new to alll this :)</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Chrishay.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sali1982</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Mon, 14 Jun 2010 01:14:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009081</guid><description><![CDATA[ <p>can&#39;t this all be in masterpage? I am doing the same thing . it does not happen. maybe because it is in master page?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/sali1982.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by naimish</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Wed, 01 Sep 2010 08:09:34 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010081</guid><description><![CDATA[ <p>Why ASP.Net AJAX Timer control stops ticking when we right click on the page?</p><p></p><p>Asp.Net AJAX Timer control stops ticking when I right click on the page. Actually i am updating a label using timer control for every second. When I right click on the page the label is not getting updated. I mean the timer stops ticking. Please tell me what is actually happening and how can i resolve it.</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/naimish.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ricodjs</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Tue, 12 Oct 2010 09:01:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010584</guid><description><![CDATA[ <p>Nice and succinct example, thanks Joe.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ricodjs.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sujithkumar</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Fri, 04 Feb 2011 07:33:39 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011930</guid><description><![CDATA[ <p>Very good presentation</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/sujithkumar.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ellenrdettwiler</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Thu, 07 Jul 2011 18:26:33 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013723</guid><description><![CDATA[ <p>This was a fantstic video and it helped me get my web site looking great, not just good!</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/ellenrdettwiler.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by bkthebest</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Fri, 18 Nov 2011 00:49:36 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014652</guid><description><![CDATA[ <p>cv</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/bkthebest.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mohamednossair</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control</link><pubDate>Wed, 29 Aug 2012 21:29:47 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016343</guid><description><![CDATA[ <p>Nice and succinct example, thanks Joe.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/mohamednossair.jpg?forceidenticon=false&amp;dt=635045781000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>