|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Refreshing an aspx mobile page in CSharpI'm trying to either have a user hit a Refresh button to refresh a
mobile aspx (c-sharp behind code) page , or using an automatic refresh every 3 minutes on the page. <META HTTP-EQUIV="Refresh" CONTENT="180;url=mypage.aspx"> just does not work on any of my aspx pages. If I use a refresh button, would I be able to use Response.Redirect("selfPage") in my CSharp code behind with the Command Button object? Thanks C In a very recent project, I needed an ASPX page to automatically
refresh itself to update its content every few minutes. I used Darren Neimke's Timer control (http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=69a7c7bb-939a-4777-aceb-2d9ebbe35b85), and it worked like a charm. It triggers a postback event once a preconfigured interval elapses. But my application used regular, non-mobile ASPX page, so I'm not totally sure if it would work for you. Anyway, hope this helps. Have you tried Server.Transfer("thispage.aspx") ?
Saves a round trip to the device. Peter Show quote "Chumley Walrus" <spring***@yahoo.com> wrote in message news:1111779749.746441.249220@f14g2000cwb.googlegroups.com... > I'm trying to either have a user hit a Refresh button to refresh a > mobile aspx (c-sharp behind code) page , or using an automatic refresh > every 3 minutes on the page. <META HTTP-EQUIV="Refresh" > CONTENT="180;url=mypage.aspx"> just does not work on any of my aspx > pages. > If I use a refresh button, would I be able to use > Response.Redirect("selfPage") in my CSharp code behind with the Command > Button object? > > Thanks > C > |
|||||||||||||||||||||||