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 asp.net page without getting blank

How to refresh asp.net page without getting blank

Scheduled Pinned Locked Moved ASP.NET
csharpcssasp-netdatabasehelp
12 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 Ratnadeep_Raul

    Hi Can anyone help me in refreshing asp.net page, which contains grid without page being blank. Grid is connected to database and fetches data from database at load time. I have tried doing it but my page becomes blank at the time of refreshing. is there any way to do this using ajax? thanx n bye Ratnadeep Mumbai

    T Offline
    T Offline
    Talal Sultan
    wrote on last edited by
    #2

    What do you mean exactly by the page becomes blank? How are you refreshing? is it by clicking on a button in the form or by clicking the "reload" of the browser?

    -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

    R 1 Reply Last reply
    0
    • T Talal Sultan

      What do you mean exactly by the page becomes blank? How are you refreshing? is it by clicking on a button in the form or by clicking the "reload" of the browser?

      -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

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

      hi Talal Sultan i m reloading the page using meta tags.

      T 1 Reply Last reply
      0
      • R Ratnadeep_Raul

        hi Talal Sultan i m reloading the page using meta tags.

        T Offline
        T Offline
        Talal Sultan
        wrote on last edited by
        #4

        Ok, so I "suppose" it is the same as clicking on the "load" button of the browser. Now, does the data appear the first time you load the page and disappear when you reload? If so, could you provide some code about how you are loading the data?

        -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

        1 Reply Last reply
        0
        • R Ratnadeep_Raul

          Hi Can anyone help me in refreshing asp.net page, which contains grid without page being blank. Grid is connected to database and fetches data from database at load time. I have tried doing it but my page becomes blank at the time of refreshing. is there any way to do this using ajax? thanx n bye Ratnadeep Mumbai

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #5

          ratnadeepraul wrote:

          my page becomes blank at the time of refreshing. is there any way to do this using ajax?

          At the time of refresh or after loading ? Page will be blank for a second while it fetches data. To avoid complete page refresh, you can put your grid inside UpdatPanel (Included in AJAX toolkit).


          My Website | Ask smart questions

          R 1 Reply Last reply
          0
          • R Ratnadeep_Raul

            Hi Can anyone help me in refreshing asp.net page, which contains grid without page being blank. Grid is connected to database and fetches data from database at load time. I have tried doing it but my page becomes blank at the time of refreshing. is there any way to do this using ajax? thanx n bye Ratnadeep Mumbai

            C Offline
            C Offline
            codelinks
            wrote on last edited by
            #6

            you can set "SmartNavigation=True" in the page directive of your asp.net page <%@ Page Language="C#" AutoEventWireup="true" "SmartNavigation=True" CodeFile="frmCodeSearch.aspx.cs" Inherits="frmCodeSearch" %>

            winnie

            N R 2 Replies Last reply
            0
            • C codelinks

              you can set "SmartNavigation=True" in the page directive of your asp.net page <%@ Page Language="C#" AutoEventWireup="true" "SmartNavigation=True" CodeFile="frmCodeSearch.aspx.cs" Inherits="frmCodeSearch" %>

              winnie

              N Offline
              N Offline
              N a v a n e e t h
              wrote on last edited by
              #7

              codelinks wrote:

              you can set "SmartNavigation=True" in the page directive of your asp.net page

              Specifically for IE. Is it ?


              My Website | Ask smart questions

              C 1 Reply Last reply
              0
              • N N a v a n e e t h

                codelinks wrote:

                you can set "SmartNavigation=True" in the page directive of your asp.net page

                Specifically for IE. Is it ?


                My Website | Ask smart questions

                C Offline
                C Offline
                codelinks
                wrote on last edited by
                #8

                yes for IE

                winnie

                1 Reply Last reply
                0
                • C codelinks

                  you can set "SmartNavigation=True" in the page directive of your asp.net page <%@ Page Language="C#" AutoEventWireup="true" "SmartNavigation=True" CodeFile="frmCodeSearch.aspx.cs" Inherits="frmCodeSearch" %>

                  winnie

                  R Offline
                  R Offline
                  Ratnadeep_Raul
                  wrote on last edited by
                  #9

                  hi "SmartNavigation=True" isnt working for me, it doesnt allow my page to refresh. thanx for suggestions

                  C 1 Reply Last reply
                  0
                  • N N a v a n e e t h

                    ratnadeepraul wrote:

                    my page becomes blank at the time of refreshing. is there any way to do this using ajax?

                    At the time of refresh or after loading ? Page will be blank for a second while it fetches data. To avoid complete page refresh, you can put your grid inside UpdatPanel (Included in AJAX toolkit).


                    My Website | Ask smart questions

                    R Offline
                    R Offline
                    Ratnadeep_Raul
                    wrote on last edited by
                    #10

                    Hi Navaneet, can u give me ne source from where i can download ajax toolkit. Is it available for free? Bye n thanx

                    1 Reply Last reply
                    0
                    • R Ratnadeep_Raul

                      hi "SmartNavigation=True" isnt working for me, it doesnt allow my page to refresh. thanx for suggestions

                      C Offline
                      C Offline
                      codelinks
                      wrote on last edited by
                      #11

                      did u remove the double quotes just give SmartNavigation=true in the page directive of your asp.net page

                      winnie

                      R 1 Reply Last reply
                      0
                      • C codelinks

                        did u remove the double quotes just give SmartNavigation=true in the page directive of your asp.net page

                        winnie

                        R Offline
                        R Offline
                        Ratnadeep_Raul
                        wrote on last edited by
                        #12

                        ya, i saw it by removing double quotes also. But still its not working.

                        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