automatic reload

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • fh

    automatic reload

    hello!
    I 've a found way to reload my page automatically every n seconde using
    this code
    Response.Append Header("Refresh ", "4");

    it works fine but I wish to do the same with only a part of my aspx page
    that will reload to the server
    all the rest of the page has to stay static

    if I use a web User control but it reload all the page?

    is there any way around?

    thanks

    Franck
  • Eliyahu Goldin

    #2
    Re: automatic reload

    Use an iframe.

    Eliyahu

    "fh" <fh@fh.com> wrote in message news:ddvkdu$2os $1@s1.news.olea ne.net...[color=blue]
    > hello!
    > I 've a found way to reload my page automatically every n seconde using
    > this code
    > Response.Append Header("Refresh ", "4");
    >
    > it works fine but I wish to do the same with only a part of my aspx page
    > that will reload to the server
    > all the rest of the page has to stay static
    >
    > if I use a web User control but it reload all the page?
    >
    > is there any way around?
    >
    > thanks
    >
    > Franck[/color]


    Comment

    • Curt_C [MVP]

      #3
      Re: automatic reload

      fh wrote:[color=blue]
      > hello!
      > I 've a found way to reload my page automatically every n seconde using
      > this code
      > Response.Append Header("Refresh ", "4");
      >
      > it works fine but I wish to do the same with only a part of my aspx page
      > that will reload to the server
      > all the rest of the page has to stay static
      >
      > if I use a web User control but it reload all the page?
      >
      > is there any way around?
      >
      > thanks
      >
      > Franck[/color]

      Nope...
      You will have to have an Frame/iFrame or an ActiveX component on the
      client.

      --
      Curt Christianson
      site: http://www.darkfalz.com
      blog: http://blog.darkfalz.com

      Comment

      • fh

        #4
        Re: automatic reload

        Thank you for your response,
        but it's not a control, isn it?

        this is the frames that are created within a frameset?



        Eliyahu Goldin wrote:[color=blue]
        > Use an iframe.
        >
        > Eliyahu
        >
        > "fh" <fh@fh.com> wrote in message news:ddvkdu$2os $1@s1.news.olea ne.net...
        >[color=green]
        >>hello!
        >>I 've a found way to reload my page automatically every n seconde using
        >>this code
        >>Response.Appe ndHeader("Refre sh", "4");
        >>
        >>it works fine but I wish to do the same with only a part of my aspx page
        >>that will reload to the server
        >>all the rest of the page has to stay static
        >>
        >>if I use a web User control but it reload all the page?
        >>
        >>is there any way around?
        >>
        >>thanks
        >>
        >>Franck[/color]
        >
        >
        >[/color]

        Comment

        • Eliyahu Goldin

          #5
          Re: automatic reload

          iframe is a frame that can be used as a regular html control in any place an
          the page, like a table cell or a panel. If you separate the part you want to
          reload into a separate page, you can put it into an iframe and make it
          reload. The rest of the page won't be affected.

          Eliyahu

          "fh" <fh@fh.com> wrote in message news:ddvljm$3as $1@s1.news.olea ne.net...[color=blue]
          > Thank you for your response,
          > but it's not a control, isn it?
          >
          > this is the frames that are created within a frameset?
          >
          >
          >
          > Eliyahu Goldin wrote:[color=green]
          > > Use an iframe.
          > >
          > > Eliyahu
          > >
          > > "fh" <fh@fh.com> wrote in message[/color][/color]
          news:ddvkdu$2os $1@s1.news.olea ne.net...[color=blue][color=green]
          > >[color=darkred]
          > >>hello!
          > >>I 've a found way to reload my page automatically every n seconde using
          > >>this code
          > >>Response.Appe ndHeader("Refre sh", "4");
          > >>
          > >>it works fine but I wish to do the same with only a part of my aspx page
          > >>that will reload to the server
          > >>all the rest of the page has to stay static
          > >>
          > >>if I use a web User control but it reload all the page?
          > >>
          > >>is there any way around?
          > >>
          > >>thanks
          > >>
          > >>Franck[/color]
          > >
          > >
          > >[/color][/color]


          Comment

          • fh

            #6
            Re: automatic reload

            thanks for your help!
            Eliyahu Goldin wrote:[color=blue]
            > iframe is a frame that can be used as a regular html control in any place an
            > the page, like a table cell or a panel. If you separate the part you want to
            > reload into a separate page, you can put it into an iframe and make it
            > reload. The rest of the page won't be affected.
            >
            > Eliyahu
            >
            > "fh" <fh@fh.com> wrote in message news:ddvljm$3as $1@s1.news.olea ne.net...
            >[color=green]
            >>Thank you for your response,
            >>but it's not a control, isn it?
            >>
            >>this is the frames that are created within a frameset?
            >>
            >>
            >>
            >>Eliyahu Goldin wrote:
            >>[color=darkred]
            >>>Use an iframe.
            >>>
            >>>Eliyahu
            >>>
            >>>"fh" <fh@fh.com> wrote in message[/color][/color]
            >
            > news:ddvkdu$2os $1@s1.news.olea ne.net...
            >[color=green][color=darkred]
            >>>>hello!
            >>>>I 've a found way to reload my page automatically every n seconde using
            >>>>this code
            >>>>Response.Ap pendHeader("Ref resh", "4");
            >>>>
            >>>>it works fine but I wish to do the same with only a part of my aspx page
            >>>>that will reload to the server
            >>>>all the rest of the page has to stay static
            >>>>
            >>>>if I use a web User control but it reload all the page?
            >>>>
            >>>>is there any way around?
            >>>>
            >>>>thanks
            >>>>
            >>>>Franck
            >>>
            >>>
            >>>[/color][/color]
            >
            >[/color]

            Comment

            • Curt_C [MVP]

              #7
              Re: automatic reload

              fh wrote:[color=blue]
              > Thank you for your response,
              > but it's not a control, isn it?
              >
              > this is the frames that are created within a frameset?
              >
              >
              >
              > Eliyahu Goldin wrote:
              >[color=green]
              >> Use an iframe.
              >>
              >> Eliyahu[/color][/color]

              What s/he's getting at is that you cant do it with a control, only with
              a "page".

              --
              Curt Christianson
              site: http://www.darkfalz.com
              blog: http://blog.darkfalz.com

              Comment

              • Daniel

                #8
                Re: automatic reload

                may i know what is iframe? Is it a frameset control?

                "Curt_C [MVP]" wrote:
                [color=blue]
                > fh wrote:[color=green]
                > > hello!
                > > I 've a found way to reload my page automatically every n seconde using
                > > this code
                > > Response.Append Header("Refresh ", "4");
                > >
                > > it works fine but I wish to do the same with only a part of my aspx page
                > > that will reload to the server
                > > all the rest of the page has to stay static
                > >
                > > if I use a web User control but it reload all the page?
                > >
                > > is there any way around?
                > >
                > > thanks
                > >
                > > Franck[/color]
                >
                > Nope...
                > You will have to have an Frame/iFrame or an ActiveX component on the
                > client.
                >
                > --
                > Curt Christianson
                > site: http://www.darkfalz.com
                > blog: http://blog.darkfalz.com
                >[/color]

                Comment

                Working...