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. how to refresh the grid every 5 mins

how to refresh the grid every 5 mins

Scheduled Pinned Locked Moved ASP.NET
csstutorial
4 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
    ramyasangeet
    wrote on last edited by
    #1

    hi all, I am working on a page where i have a grid to show the data from the table.I want this grid to be refreshed every 5 mins as the data in table updates every 5 mins. how it is possible to refresh the grid.. plz give ur suggestions on this. Thanks in Advance,

    cheers sangeet

    C S S 3 Replies Last reply
    0
    • R ramyasangeet

      hi all, I am working on a page where i have a grid to show the data from the table.I want this grid to be refreshed every 5 mins as the data in table updates every 5 mins. how it is possible to refresh the grid.. plz give ur suggestions on this. Thanks in Advance,

      cheers sangeet

      C Offline
      C Offline
      coolestCoder
      wrote on last edited by
      #2

      Write this tag in your aspx page ( Source View ) after title tag -- where conten is time interval in seconds. This will refresh the complete page. If you want to avoid complete post back, try to use AJAX instead. Hope this helps.


      "A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder


      coolestCoder

      1 Reply Last reply
      0
      • R ramyasangeet

        hi all, I am working on a page where i have a grid to show the data from the table.I want this grid to be refreshed every 5 mins as the data in table updates every 5 mins. how it is possible to refresh the grid.. plz give ur suggestions on this. Thanks in Advance,

        cheers sangeet

        S Offline
        S Offline
        Snews
        wrote on last edited by
        #3

        You can also set this from within the code behinde simply by calling: Response.AddHeader( "refresh", "1800" ); :)

        1 Reply Last reply
        0
        • R ramyasangeet

          hi all, I am working on a page where i have a grid to show the data from the table.I want this grid to be refreshed every 5 mins as the data in table updates every 5 mins. how it is possible to refresh the grid.. plz give ur suggestions on this. Thanks in Advance,

          cheers sangeet

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

          I think the best thing to do is make a web part containing the grid, then you can use Ajax to refresh the data. Hope this helps , Shirish.

          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