There are no comments yet...Kick things off by filling out the form below.
Make Your ASP.NET Mobile Forms Timer-Refresh and Autoredirect : Peter Bromberg
You can't use javascript in Mobile Forms, and they won't render the META Refresh tag either. Here's a way to create a Mobile Form that will refresh and autoredirect based on a timer, that extends the Mobile Form class as a control.
In my travels with an ASP.NET Mobile Device application, I ran into a need to display a status panel as the result of a repeated method call on a timed basis from the page. Under normal ASP.NET page scenarios this is easy: you can either use Javascript (such as with an Anthem.net timer control) or you can create a META Refresh tag inside your Page's HEAD tag, set the HEAD to runat=server, and use an HtmlMeta control to set your HtmlMeta tag Content attribute for the refresh time and / or redirect URL. In other words, you can either display a changing status message or you can display a message and then automatically redirect to another page after 5 seconds....
