How to Auto-refresh a mobile page?

Discussion in 'ASP .Net Mobile' started by M.Imran Khan, Jun 16, 2008.

  1. M.Imran Khan

    M.Imran Khan Guest

    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
    M.Imran Khan, Jun 16, 2008
    #1
    1. Advertising

  2. "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
    >
    >
    >
    >
    >
    >
    Joyal Jhaveri, Jun 29, 2008
    #2
    1. Advertising

  3. 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
    > >
    > >
    > >
    > >
    > >
    > >
    Joyal Jhaveri, Jun 29, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marcus

    auto refresh page or frame

    Marcus, Apr 1, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    4,053
    Marcus
    Apr 1, 2004
  2. Marcus Malmgren

    RE: auto refresh page or frame

    Marcus Malmgren, Apr 2, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    439
    Marcus Malmgren
    Apr 2, 2004
  3. linkswanted
    Replies:
    1
    Views:
    883
  4. chen selina
    Replies:
    0
    Views:
    1,253
    chen selina
    Jul 13, 2010
  5. avner_e

    auto refresh to a mobile form

    avner_e, Jun 17, 2004, in forum: ASP .Net Mobile
    Replies:
    0
    Views:
    128
    avner_e
    Jun 17, 2004
Loading...

Share This Page