Hi
I have a problem trying to display the timer control in ajax.
I have installled the controls and the collapsible panel works ok but not the timer control.
below is the code
<asp:ScriptManagerID="ScriptManager1"runat="server"></asp:ScriptManager><asp:UpdatePanelID="UpdatePanel1"runat="server">
<ContentTemplate>
<asp:LabelID="Label1"runat="server"Text="Label"></asp:Label><asp:TimerID="Timer1"runat="server"Interval="3000">
</asp:Timer></ContentTemplate>
</asp:UpdatePanel>
any help wud be great
cheers
The timer does not display anything on the HTML is just a way to call the server side every X amount of time. In Design mode, look at the properties, you'll find an event, double click and will create a method on your code behind. Now you can add any code that will be executed every x amount of time, in your case every 3 seconds.
No comments:
Post a Comment