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 display Hourglass b/w Postbacks

How to display Hourglass b/w Postbacks

Scheduled Pinned Locked Moved ASP.NET
helptutorial
11 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.
  • 3 333soori

    hi friends......... can anybody help me my page taking longtime to postback in the meantime i want to display an Hourglass(waiting cursor).. pls give me some idea thnx in advance

    E Offline
    E Offline
    ednrgc
    wrote on last edited by
    #2

    There are many posts for this exact question. This is obviously homework.

    1 Reply Last reply
    0
    • 3 333soori

      hi friends......... can anybody help me my page taking longtime to postback in the meantime i want to display an Hourglass(waiting cursor).. pls give me some idea thnx in advance

      E Offline
      E Offline
      ednrgc
      wrote on last edited by
      #3

      You might want to look into why the page is taking so long, instead of a hacky workaround. Nice school you're going to.

      3 1 Reply Last reply
      0
      • E ednrgc

        You might want to look into why the page is taking so long, instead of a hacky workaround. Nice school you're going to.

        3 Offline
        3 Offline
        333soori
        wrote on last edited by
        #4

        yes u r correct but in my webpage m retrieving data from data source there are around 3000 records , that's why its taking time to reload the page i want to display a hourglass in this mean time. pls give me some idea soori

        E 1 Reply Last reply
        0
        • 3 333soori

          yes u r correct but in my webpage m retrieving data from data source there are around 3000 records , that's why its taking time to reload the page i want to display a hourglass in this mean time. pls give me some idea soori

          E Offline
          E Offline
          ednrgc
          wrote on last edited by
          #5

          People here frown upon doing homework for others. You should NEVER change the cursor to an hourglass through postbacks. It's a horrible practice.

          3 1 Reply Last reply
          0
          • E ednrgc

            People here frown upon doing homework for others. You should NEVER change the cursor to an hourglass through postbacks. It's a horrible practice.

            3 Offline
            3 Offline
            333soori
            wrote on last edited by
            #6

            homework homework dont u know more than that m clearly saying what is my requirement and m asking to give some idea m not asking u to do homework. i know how to do it in javascript function hourglass() { document.body.style.cursor='wait'; } how to call this method b/w reload or postback. thanks if u can help me. SOORI

            E I J 3 Replies Last reply
            0
            • 3 333soori

              homework homework dont u know more than that m clearly saying what is my requirement and m asking to give some idea m not asking u to do homework. i know how to do it in javascript function hourglass() { document.body.style.cursor='wait'; } how to call this method b/w reload or postback. thanks if u can help me. SOORI

              E Offline
              E Offline
              ednrgc
              wrote on last edited by
              #7

              If you know how to do it, then call the javascript function when it starts loading data.

              3 1 Reply Last reply
              0
              • E ednrgc

                If you know how to do it, then call the javascript function when it starts loading data.

                3 Offline
                3 Offline
                333soori
                wrote on last edited by
                #8

                m clicking on a link button which is on a user control. its before page load in java script m retrieving the records and binding them to datagrid . pls tell me where should i call hourglass(). thanks inadvance soori

                E 1 Reply Last reply
                0
                • 3 333soori

                  m clicking on a link button which is on a user control. its before page load in java script m retrieving the records and binding them to datagrid . pls tell me where should i call hourglass(). thanks inadvance soori

                  E Offline
                  E Offline
                  ednrgc
                  wrote on last edited by
                  #9

                  How about the button's click event?

                  1 Reply Last reply
                  0
                  • 3 333soori

                    homework homework dont u know more than that m clearly saying what is my requirement and m asking to give some idea m not asking u to do homework. i know how to do it in javascript function hourglass() { document.body.style.cursor='wait'; } how to call this method b/w reload or postback. thanks if u can help me. SOORI

                    I Offline
                    I Offline
                    indianet
                    wrote on last edited by
                    #10

                    on the .aspx page. function unLoadPage() { document.body.style.cursor='wait'; } see if this is what you are looking for.

                    1 Reply Last reply
                    0
                    • 3 333soori

                      homework homework dont u know more than that m clearly saying what is my requirement and m asking to give some idea m not asking u to do homework. i know how to do it in javascript function hourglass() { document.body.style.cursor='wait'; } how to call this method b/w reload or postback. thanks if u can help me. SOORI

                      J Offline
                      J Offline
                      jegastar
                      wrote on last edited by
                      #11

                      write the following on Body tag Regards, Jegastar.

                      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