refresh a page every so often

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default refresh a page every so often

    I want to refresh the text of a label box, say, every second. Is there a
    way to maintain some kind of persistent connection to the server and the
    codebehind in order to pull this off or am I forced to use some ugly
    client-side page-refresh scription?

    Thank you for any advice,
    Laszlo


    Laszlo Szijarto Guest

  2. Similar Questions and Discussions

    1. how can i Refresh my page????
      Please help me I am using mac os x and Dreamweaver MX 2004, But i make some page but I am not abble to see them normal, please help me....I will...
    2. Auto Page Refresh
      Hi, I have a web page which contains content that is frequently updated: http://www.iwsec.co.uk
    3. Page Refresh
      OK, I have created a user control that contains a dropdown for office locations. Here is the code.... Private Sub Page_Load(ByVal sender As...
    4. page refresh?
      I have the submit and action page. On the submit form, I have several text boxes for user to enter information. On the action page, I have the...
    5. Refresh Page
      I have an access db backend with a frontend in asp. The user is able to add, edit, view, and delete members from the db. I have a page that...
  3. #2

    Default Re: refresh a page every so often

    You might be able to use something like XmlHttp, to do a call to a page from
    client side javascript.

    Another option, is to place the label on its own page, in an iframe. And
    refresh the page in the iframe ever X seconds. This will have minimal
    flashing, and will probably be barely noticeable.

    "Laszlo Szijarto" <lszijarto@nospam.mrdoc.cc> wrote in message
    news:e5Ah7s$PDHA.1612@TK2MSFTNGP11.phx.gbl...
    > I want to refresh the text of a label box, say, every second. Is there a
    > way to maintain some kind of persistent connection to the server and the
    > codebehind in order to pull this off or am I forced to use some ugly
    > client-side page-refresh scription?
    >
    > Thank you for any advice,
    > Laszlo
    >
    >

    Marina Guest

  4. #3

    Default Re: refresh a page every so often

    You are forced to use some ugly client side page refresh, unless you use
    another ugly option such as hosting a special ActiveX control on your page
    that can handle a more complex (persistent) network connection.

    --
    I hope this helps,
    Steve C. Orr, MCSD
    [url]http://Steve.Orr.net[/url]


    "Laszlo Szijarto" <lszijarto@nospam.mrdoc.cc> wrote in message
    news:e5Ah7s$PDHA.1612@TK2MSFTNGP11.phx.gbl...
    > I want to refresh the text of a label box, say, every second. Is there a
    > way to maintain some kind of persistent connection to the server and the
    > codebehind in order to pull this off or am I forced to use some ugly
    > client-side page-refresh scription?
    >
    > Thank you for any advice,
    > Laszlo
    >
    >

    Steve C. Orr, MCSD Guest

  5. #4

    Default Re: refresh a page every so often

    Thank you both. I'll check into the XML HTTP stuff. Or I may just have to
    go the way of using an embedded ActiveX-like control.

    Thanks again,
    Laszlo



    --
    Laszlo Szijarto
    Software Engineer
    Analex Corporation
    2001 Aerospace Parkway
    Cleveland, Ohio 44142
    Phone: 216-925-1127

    NOTICE: The information contained in this E-mail and any attachments is
    subject to Export Administration Regulations (EAR) and must be handled in
    accordance with its EAR classification. If its EAR classification is not
    specified, the information contained in this E-mail and any attachments
    should not be disseminated to any non-U.S. person because the appropriate
    EAR classification may be more restrictive than "Public Domain."

    "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
    news:%23Zz$S$$PDHA.304@tk2msftngp13.phx.gbl...
    > You are forced to use some ugly client side page refresh, unless you use
    > another ugly option such as hosting a special ActiveX control on your page
    > that can handle a more complex (persistent) network connection.
    >
    > --
    > I hope this helps,
    > Steve C. Orr, MCSD
    > [url]http://Steve.Orr.net[/url]
    >
    >
    > "Laszlo Szijarto" <lszijarto@nospam.mrdoc.cc> wrote in message
    > news:e5Ah7s$PDHA.1612@TK2MSFTNGP11.phx.gbl...
    > > I want to refresh the text of a label box, say, every second. Is there
    a
    > > way to maintain some kind of persistent connection to the server and the
    > > codebehind in order to pull this off or am I forced to use some ugly
    > > client-side page-refresh scription?
    > >
    > > Thank you for any advice,
    > > Laszlo
    > >
    > >
    >
    >

    Laszlo Szijarto Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139