ok, here is the code, I had problems sending a zip file....whatever:
<%@ Page Language="VB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> Protected Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick lblTime.Text = Now.ToLongTimeString End Sub </script> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:updatepanel ID="Updatepanel1" runat="server"> <ContentTemplate> <asp:Timer ID="Timer1" runat="server" Interval="1000" > </asp:Timer> <asp:Label ID="lblTime" runat="server"></asp:Label> </ContentTemplate> </asp:updatepanel> </div> </form> </body> </html> Date: Wed, 12 Aug 2009 12:55:36 +0530 Subject: [DotNetDevelopment] Re: timer on website From: [email protected] To: [email protected] hi, i tried using ajax timer control it asks for scriptmanager i dont know how to code for it the event timer_tick is not executing after given interval please give me its code if u have
