locked
Refresh and Finding out current form RRS feed

  • Question

  • User-17441793 posted
    Hi, I need this information urgently and would really appreciate your help. 1) How do I refresh a mobile web form in ASP.net? 2) I want to set a condition like whenever the timer elapse, if the current page is now Page1, refresh Page1. I know that I have to do it inside the timer_elapsed methos, but how do I find out the page that is currently being displayed and how do I refresh it?
    Saturday, February 19, 2005 6:31 AM

All replies

  • User769361847 posted
    1) It's not elegant, but if you just add a Response.Write("<meta http-equiv=""refresh"" content=""300"">") to your code-behind, you can refresh a mobile page. I have found no solution for a direct aspx-manipulation, since it leaves out the -section in the final html-response.
    Thursday, March 17, 2005 8:03 AM
  • User-95607119 posted
    Check out ASP.NET Mobile examples. There is special example for timer based form. It does exactly what you need.
    Thursday, March 17, 2005 11:23 AM