locked
setInterval or timer function RRS feed

  • Question

  • User-458598543 posted
    Hello, I know the setInterval function in JavaScript and it's ok. For my project, I develop pages in aspx type and c# code. I'm trying tu use setInterval or timer function in my aspx-c# project and the process is unfunctional. Could you show me the lines-code or c# setInterval or timer function ? Thanks !
    Sunday, September 1, 2019 4:17 PM

Answers

  • User-458598543 posted
    After research on internet forums, I had found the following solution for a timer : meta balise with http-equiv="refresh" content="seconds". Thanks you !!
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, September 1, 2019 10:44 PM

All replies

  • User475983607 posted

    Your explanation is unclear.  Keep in mind that setInterval() runs in the browser not C#.  Share source code that is not functioning as expected.  

    Sunday, September 1, 2019 6:01 PM
  • User-458598543 posted
    Well, my problem is to use a timer with setInterval function in c# language in aspx page for exemple to show the hour. Thanks for your contribution !
    Sunday, September 1, 2019 7:09 PM
  • User-458598543 posted
    After research on internet forums, I had found the following solution for a timer : meta balise with http-equiv="refresh" content="seconds". Thanks you !!
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, September 1, 2019 10:44 PM