Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Slasher175

@Slasher175
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to set a TIMER ?
    S Slasher175

    Not sure if this is what you need but it may help... Create a standard ASPX Timer control with an AJAX update panel. ... <asp:ScriptManager ID="ScriptManager1" runat="server" /> <asp:Timer ID="tmrClock" runat="server" Interval="1000" OnTick="tmrClock_Tick"></asp:Timer> <asp:UpdatePanel ID="updPnlClock" UpdateMode="Conditional" runat="server"> <Triggers> <asp:AsyncPostBackTrigger ControlID="tmrClock" EventName="Tick" /> </Triggers> <ContentTemplate> <asp:Label ID="lblTime" runat="server" ForeColor="#B22222"></asp:Label> </ContentTemplate> </asp:UpdatePanel> ... Code Behind Page: Subscribe to the Tick event on the ASP Timer control. This one represents a ticking clock. protected void tmrClock_Tick(object sender, EventArgs e) { lblTime.Text = DateTime.Now.ToLongTimeString(); }

    ASP.NET question tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups