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
  1. Home
  2. Web Development
  3. ASP.NET
  4. Page refresh inASP.NET2.0+c#

Page refresh inASP.NET2.0+c#

Scheduled Pinned Locked Moved ASP.NET
csharpquestionjavascriptasp-net
5 Posts 4 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.
  • R Offline
    R Offline
    regin
    wrote on last edited by
    #1

    How can i refresh a page without using a javascript code?im using asp.net+c#..

    S C B 3 Replies Last reply
    0
    • R regin

      How can i refresh a page without using a javascript code?im using asp.net+c#..

      S Offline
      S Offline
      Sathesh Sakthivel
      wrote on last edited by
      #2

      GO for F5.

      Regards, Satips.:rose:

      R 1 Reply Last reply
      0
      • S Sathesh Sakthivel

        GO for F5.

        Regards, Satips.:rose:

        R Offline
        R Offline
        regin
        wrote on last edited by
        #3

        i need c# code..any possibility?

        1 Reply Last reply
        0
        • R regin

          How can i refresh a page without using a javascript code?im using asp.net+c#..

          C Offline
          C Offline
          chand10
          wrote on last edited by
          #4

          Hi You can implement the refresh process with the help of a Button. Check this code for counting how many times the page is refreshed static int pageRefresh; protected void Page_Load(object sender, EventArgs e) { lblRefresh.Text = "The page is refreshed '"+pageRefresh+"' times"; } protected void btnRefresh_click(object sender, EventArgs e) { pageRefresh += 1; Page_Load(sender,e); }

          Cheers Chandu

          1 Reply Last reply
          0
          • R regin

            How can i refresh a page without using a javascript code?im using asp.net+c#..

            B Offline
            B Offline
            Biju Sam
            wrote on last edited by
            #5

            you can refresh the page with the below code nn is the seconds. if nn=5 then evry 5 mins it will get refershed. add this in aspx page above form tag. you can also do a Response.Redirect(Samepage.aspx)

            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