Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to refresh a page in ASP.Net

How to refresh a page in ASP.Net

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-nettutorial
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    srajasekhar
    wrote on last edited by
    #1

    I want to refresh a page in ASP.Net automatically. What is the command ?

    M 1 Reply Last reply
    0
    • S srajasekhar

      I want to refresh a page in ASP.Net automatically. What is the command ?

      M Offline
      M Offline
      M LN Rao
      wrote on last edited by
      #2

      you have to write a javascript function that automatically refreshes page after sometime. setTimeout("window.location.reload ()",5000);

      Intelligence is measured by common sense not by how many scholarly books you read.

      R S 2 Replies Last reply
      0
      • M M LN Rao

        you have to write a javascript function that automatically refreshes page after sometime. setTimeout("window.location.reload ()",5000);

        Intelligence is measured by common sense not by how many scholarly books you read.

        R Offline
        R Offline
        Riza Azmi
        wrote on last edited by
        #3

        Hi ... You can use also this HTML tag (refreshing for 10 seconds) Replace content=10 with the second that you like. Regards, Riza Azmi Simple thing should be simple, complex thing should be possible

        S 2 Replies Last reply
        0
        • M M LN Rao

          you have to write a javascript function that automatically refreshes page after sometime. setTimeout("window.location.reload ()",5000);

          Intelligence is measured by common sense not by how many scholarly books you read.

          S Offline
          S Offline
          srajasekhar
          wrote on last edited by
          #4

          Thank you it is working

          1 Reply Last reply
          0
          • R Riza Azmi

            Hi ... You can use also this HTML tag (refreshing for 10 seconds) Replace content=10 with the second that you like. Regards, Riza Azmi Simple thing should be simple, complex thing should be possible

            S Offline
            S Offline
            srajasekhar
            wrote on last edited by
            #5

            Thank you

            1 Reply Last reply
            0
            • R Riza Azmi

              Hi ... You can use also this HTML tag (refreshing for 10 seconds) Replace content=10 with the second that you like. Regards, Riza Azmi Simple thing should be simple, complex thing should be possible

              S Offline
              S Offline
              srajasekhar
              wrote on last edited by
              #6

              Actually it is refreshing continuously for every 10 seconds. I want to refresh once before i close the page.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups