locked
How to increase the value every after a second using asp.net and Timer control? RRS feed

  • Question

  • User-1166428634 posted

    Hi All,

    How to increase the value every after a second using asp.net and Timer control?

    I want to display minutes / number which always start from 1 to 20 only.  Something like online quiz application.

    Thanks

    Friday, November 27, 2015 2:41 AM

Answers

  • User1724605321 posted

    Hi Shailendra,

    Yes!! I want to do this with UpdatePanel and AJAX Timer control only.  Can you show one example please?

    Please refer to links below for details and demo:
    https://msdn.microsoft.com/en-us/library/bb398865.aspx .

    You could make Timer control updates the content in the UpdatePanel every 1 seconds , then you could change your value .

    Best Regards,

    Nan Yu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, November 30, 2015 2:05 AM

All replies

  • User-1862763956 posted

    Use update panel and .net ajax timer control. These can help to refresh the part of the page.

    or

    You can use jquery ajax ,timer control which can update the div using another page.

    Friday, November 27, 2015 6:28 AM
  • User1724605321 posted

    Hi Shailendra<!--?xml:namespace prefix = "o" ns = "urn:schemas-microsoft-com:office:office" /--><o:p></o:p>

    You could also try to use jquery countdownTimer Plugin . You could display minutes / number .Please refer to link below for demo:
    http://harshen.github.io/jquery-countdownTimer/ .<o:p></o:p>

    Best Regards,<o:p></o:p>

    Nan Yu<o:p></o:p>

    Friday, November 27, 2015 6:31 AM
  • User-1166428634 posted

    Yes!! I want to do this with UpdatePanel and AJAX Timer control only.  Can you show one example please?

    Thanks

    Saturday, November 28, 2015 12:43 AM
  • User1724605321 posted

    Hi Shailendra,

    Yes!! I want to do this with UpdatePanel and AJAX Timer control only.  Can you show one example please?

    Please refer to links below for details and demo:
    https://msdn.microsoft.com/en-us/library/bb398865.aspx .

    You could make Timer control updates the content in the UpdatePanel every 1 seconds , then you could change your value .

    Best Regards,

    Nan Yu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, November 30, 2015 2:05 AM