1

I'm moving an app from ASP.NET/C# to MVC and I have some Timers <asp:Timer> I'm trying to find exactly the same tool for MVC (Html5 or DevExpress) but seems like there is not or at least my intellisense doesn't show it.

Anyone knows about it and can post the squema of it?

3
  • 1
    You need to use Javascript. Commented Jun 17, 2013 at 16:46
  • What do you use the timers for? Commented Jun 17, 2013 at 16:46
  • I use the timers to refresh the view, so it can be 1 minute, 5, 10, 15 or None. After that time, the page automatically refreshes. @spender I mean, the representation of how to declare a html timer and which fields are required and what each one means. Commented Jun 17, 2013 at 16:55

2 Answers 2

4

You will need to use Javascript yourself.

Take a look at window.setInterval() or one of the many jQuery timers.

Sign up to request clarification or add additional context in comments.

1 Comment

I know I can with Js, I was just wondering if there was a solution in HTML
0

Another option, that doesn't involve javascript is the HTML META tag.

example:
<meta http-equiv="refresh" content="30">

content is specified in seconds. META elements live within the HEAD element.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.