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

Page Refresh

Scheduled Pinned Locked Moved ASP.NET
delphidatabasesysadminhelpquestion
5 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.
  • M Offline
    M Offline
    Matthew Hazlett
    wrote on last edited by
    #1

    I have a page with a GridView, the user can click on an item to edit that item. This goes to a subpage, where the user makes changes to the record. After the changes have been submitted and written to the database the user gets redirected to the parent page (GridView page) where the old results show untill the user manually refreshs the page. GridView Page -> Edit Page -> Gridview Page I have tried disabeling page caching (In Code and Meta Tags), Server.Transfer, Response.Redirect, Searched the web for hours nothing -- I at my wits end with this issue, this problems been driving me batty for days. Any ideas? Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

    F B 2 Replies Last reply
    0
    • M Matthew Hazlett

      I have a page with a GridView, the user can click on an item to edit that item. This goes to a subpage, where the user makes changes to the record. After the changes have been submitted and written to the database the user gets redirected to the parent page (GridView page) where the old results show untill the user manually refreshs the page. GridView Page -> Edit Page -> Gridview Page I have tried disabeling page caching (In Code and Meta Tags), Server.Transfer, Response.Redirect, Searched the web for hours nothing -- I at my wits end with this issue, this problems been driving me batty for days. Any ideas? Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

      F Offline
      F Offline
      Faisal Khatri
      wrote on last edited by
      #2

      Hi, Why u r using transfering of page from one page to another for edit. Y dont u use Panel for this purpose.. Make the panel of edit visiblity false..initially & at the time of edit call make it visible from the vode behind... I m ssure this will not cuas u the problem of cache or session.. May be this could be the one way to solve this.. THANKS FAISAL KHATRI

      M 1 Reply Last reply
      0
      • F Faisal Khatri

        Hi, Why u r using transfering of page from one page to another for edit. Y dont u use Panel for this purpose.. Make the panel of edit visiblity false..initially & at the time of edit call make it visible from the vode behind... I m ssure this will not cuas u the problem of cache or session.. May be this could be the one way to solve this.. THANKS FAISAL KHATRI

        M Offline
        M Offline
        Matthew Hazlett
        wrote on last edited by
        #3

        That dosn't conform to the UI paramiters of the project. Thank you for the reply though. Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

        1 Reply Last reply
        0
        • M Matthew Hazlett

          I have a page with a GridView, the user can click on an item to edit that item. This goes to a subpage, where the user makes changes to the record. After the changes have been submitted and written to the database the user gets redirected to the parent page (GridView page) where the old results show untill the user manually refreshs the page. GridView Page -> Edit Page -> Gridview Page I have tried disabeling page caching (In Code and Meta Tags), Server.Transfer, Response.Redirect, Searched the web for hours nothing -- I at my wits end with this issue, this problems been driving me batty for days. Any ideas? Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

          B Offline
          B Offline
          bond with the best
          wrote on last edited by
          #4

          you must be binding the gridview somewhere...try to put that code in the Page Load Event..this way every time the page loaded,updated data will be loaded from the database.. Lokesh Sharma

          M 1 Reply Last reply
          0
          • B bond with the best

            you must be binding the gridview somewhere...try to put that code in the Page Load Event..this way every time the page loaded,updated data will be loaded from the database.. Lokesh Sharma

            M Offline
            M Offline
            Matthew Hazlett
            wrote on last edited by
            #5

            The page load event refreshes the dataset. I am at a loss :-( Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

            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