Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > How to Auto-refresh a mobile page?

Reply
Thread Tools

How to Auto-refresh a mobile page?

 
 
M.Imran Khan
Guest
Posts: n/a
 
      06-16-2008
Here is the simples Mobile page i created

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="MobileWebForm1.aspx.vb" Inherits="Mobile_PSD.MobileWebForm1" %>
<%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls"
Assembly="System.Web.Mobile" %>
<HEAD>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="http://schemas.microsoft.com/Mobile/Page"
name="vs_targetSchema">
</HEAD>
<body Xmlns:mobile="http://schemas.microsoft.com/Mobile/WebForm">
<mobile:form id="Form1" runat="server">
<mobile:TextBox id="txtName" runat="server"></mobile:TextBox>
</mobile:form>
</body>

What i want is that, i want this page to refresh Automatically after x
number of seconds like we have in normal HTML pages. for example,

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

Can anyone tell how can i use the above in mobile page?

Thanks






 
Reply With Quote
 
 
 
 
Joyal Jhaveri
Guest
Posts: n/a
 
      06-29-2008


"M.Imran Khan" wrote:

> Here is the simples Mobile page i created
>
> <%@ Page Language="vb" AutoEventWireup="false"
> Codebehind="MobileWebForm1.aspx.vb" Inherits="Mobile_PSD.MobileWebForm1" %>
> <%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls"
> Assembly="System.Web.Mobile" %>
> <HEAD>
> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
> <meta content="http://schemas.microsoft.com/Mobile/Page"
> name="vs_targetSchema">
> </HEAD>
> <body Xmlns:mobile="http://schemas.microsoft.com/Mobile/WebForm">
> <mobile:form id="Form1" runat="server">
> <mobile:TextBox id="txtName" runat="server"></mobile:TextBox>
> </mobile:form>
> </body>
>
> What i want is that, i want this page to refresh Automatically after x
> number of seconds like we have in normal HTML pages. for example,
>
> <meta http-equiv="refresh" content="30">
>
> Can anyone tell how can i use the above in mobile page?
>
> Thanks
>
>
>
>
>
>

 
Reply With Quote
 
 
 
 
Joyal Jhaveri
Guest
Posts: n/a
 
      06-29-2008
I have the same problem.
Also, div tag is not working if we want to use it in the MobileForm. I want
that solution also. If you have then please let me know.

Thanks.

"Joyal Jhaveri" wrote:

>
>
> "M.Imran Khan" wrote:
>
> > Here is the simples Mobile page i created
> >
> > <%@ Page Language="vb" AutoEventWireup="false"
> > Codebehind="MobileWebForm1.aspx.vb" Inherits="Mobile_PSD.MobileWebForm1" %>
> > <%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls"
> > Assembly="System.Web.Mobile" %>
> > <HEAD>
> > <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
> > <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
> > <meta content="http://schemas.microsoft.com/Mobile/Page"
> > name="vs_targetSchema">
> > </HEAD>
> > <body Xmlns:mobile="http://schemas.microsoft.com/Mobile/WebForm">
> > <mobile:form id="Form1" runat="server">
> > <mobile:TextBox id="txtName" runat="server"></mobile:TextBox>
> > </mobile:form>
> > </body>
> >
> > What i want is that, i want this page to refresh Automatically after x
> > number of seconds like we have in normal HTML pages. for example,
> >
> > <meta http-equiv="refresh" content="30">
> >
> > Can anyone tell how can i use the above in mobile page?
> >
> > Thanks
> >
> >
> >
> >
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
iPhone4,iPhone3,Ipad,Apple Mobile,Blackberry Mobile,HTC Mobile,LGMobile,Motorola Mobile,Nokia Mobile,Samsung Mobile chen selina C++ 0 07-13-2010 08:53 AM



Advertisments