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. GridView is Caching does not Update

GridView is Caching does not Update

Scheduled Pinned Locked Moved ASP.NET
questionsysadminannouncement
3 Posts 2 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.
  • A Offline
    A Offline
    alaminfad
    wrote on last edited by
    #1

    Hello Experts I've this Gridview of tasks a Hyperlink TemplateField that takes the user to another page where he can accept/reject[buttons] the very task , on clicking accept/reject[buttons] the page redirect the user again to the tasks Gridview , unfortunately , the same task is still there unless if the user manually Press F5[Refresh] I tried the following nothing worked :( 1- EnableViewState ="false" 2- In the ObjectDataSource , EnableCaching ="false" 3-i tried to use Ajax but it gives me a whole lots of errors from the webconfig ,my website is working ,I can’t stop users from accessing my site in order to wrestle with Ajax what else that I can do? One more question Experts, the approach I am taking on developing my site is to work in my local machine when I am finished with my changes I literally Copy/Paste the new aspx/aspx.vb overwriting the old file with the new one , this approach is working fine but it causes the server to a bit slow esp. in the first time after change, is there a more Professional way? Thanks in advance

    N 1 Reply Last reply
    0
    • A alaminfad

      Hello Experts I've this Gridview of tasks a Hyperlink TemplateField that takes the user to another page where he can accept/reject[buttons] the very task , on clicking accept/reject[buttons] the page redirect the user again to the tasks Gridview , unfortunately , the same task is still there unless if the user manually Press F5[Refresh] I tried the following nothing worked :( 1- EnableViewState ="false" 2- In the ObjectDataSource , EnableCaching ="false" 3-i tried to use Ajax but it gives me a whole lots of errors from the webconfig ,my website is working ,I can’t stop users from accessing my site in order to wrestle with Ajax what else that I can do? One more question Experts, the approach I am taking on developing my site is to work in my local machine when I am finished with my changes I literally Copy/Paste the new aspx/aspx.vb overwriting the old file with the new one , this approach is working fine but it causes the server to a bit slow esp. in the first time after change, is there a more Professional way? Thanks in advance

      N Offline
      N Offline
      Nishant Singh
      wrote on last edited by
      #2

      Another Page is opening in PopUp ???

      A 1 Reply Last reply
      0
      • N Nishant Singh

        Another Page is opening in PopUp ???

        A Offline
        A Offline
        alaminfad
        wrote on last edited by
        #3

        on hyperlink click it redirects the user to Another 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