473,441 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,441 software developers and data experts.

Refreshing an aspx mobile page in CSharp

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

Nov 17 '05 #1
3 2720
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/U...-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.

Nov 17 '05 #2
Have you tried Server.Transfer("thispage.aspx") ?
Saves a round trip to the device.
Peter

"Chumley Walrus" <sp*******@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.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

Nov 17 '05 #3
Have you tried Server.Transfer("thispage.aspx") ?
Saves a round trip to the device.
Peter

"Chumley Walrus" <sp*******@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.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

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: EMW | last post by:
Hi, I use the following to start my ASPX: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>index</title> <meta name="vs_defaultClientScript"...
1
by: LRD | last post by:
Form not refreshing after autopostback unless keyboard or mouse move Hi, We created several new ASP.NET C# forms for our intranet. In each form we use panels for different sections of the...
1
by: Hans | last post by:
I have a Windows.Forms.Form containing a DataGrid where the DataSource is a DataView. Everything refreshes fine after adding, deleting or editing rows. When I close the dialog and reopen it with a...
0
by: Jeronimo Bertran | last post by:
Hi, I have a page that includes an image that uses an image map. When the user clicks on a button, the image needs to be refreshed and the map needs to be updated without refreshing the entire...
1
by: Jennyfer J Barco | last post by:
Hello I have a datagrid and a linkbuttom in the datagrid that says Picture, every time I click on the link "Picture" my program opens a popup window showing a picture of the item the selected and...
3
by: =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post by:
I am confused about how I can insert literal text into a page from C# in the ASP.NET 2.0 Mobile Page model. There is no supported "Literal" control as there is in ASPX (standard), though I don't...
1
by: =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post by:
Hi. I have Mobile site that I'm building. My problem is that all of my pages are built as Mobile ASPX pages, but occasionally, I need to use controls which are not mobile. Most specifically, the...
9
by: Bali | last post by:
Default.aspx is the starting page containing a control(ascx) which has asp:button control on it. On the button click event it has to open a new page as a modal control. Since refreshing a page in a...
0
by: Bali | last post by:
Default.aspx is the starting page containing a control(ascx) which has asp:button control on it. On the button click event it has to open a new page as a modal control. Since refreshing a page in...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.