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. web page scroll

web page scroll

Scheduled Pinned Locked Moved ASP.NET
tutorial
8 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.
  • T Offline
    T Offline
    tanzeel85
    wrote on last edited by
    #1

    how to maintain scroll position of web page

    P 1 Reply Last reply
    0
    • T tanzeel85

      how to maintain scroll position of web page

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      In what version of ASP.NET? 1, 1.1, 2+? If you are using .NET2+, you could use

      <%@ Page MaintainScrollPositionOnPostback="true" %>

      on the page, or you could set

      <pages maintainScrollPositionOnPostBack="true" />

      in the pages section in web.config to set this position for all pages.

      Forgive your enemies - it messes with their heads

      My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

      T 1 Reply Last reply
      0
      • P Pete OHanlon

        In what version of ASP.NET? 1, 1.1, 2+? If you are using .NET2+, you could use

        <%@ Page MaintainScrollPositionOnPostback="true" %>

        on the page, or you could set

        <pages maintainScrollPositionOnPostBack="true" />

        in the pages section in web.config to set this position for all pages.

        Forgive your enemies - it messes with their heads

        My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

        T Offline
        T Offline
        tanzeel85
        wrote on last edited by
        #3

        its not working buddy. please suggest some other

        P 1 Reply Last reply
        0
        • T tanzeel85

          its not working buddy. please suggest some other

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          Throw me a bone here. What environment are you developing against? I haven't got the telepathic interface engaged here, and it's a bit too far for me to see your screen.

          Forgive your enemies - it messes with their heads

          My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

          T 1 Reply Last reply
          0
          • P Pete OHanlon

            Throw me a bone here. What environment are you developing against? I haven't got the telepathic interface engaged here, and it's a bit too far for me to see your screen.

            Forgive your enemies - it messes with their heads

            My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

            T Offline
            T Offline
            tanzeel85
            wrote on last edited by
            #5

            asp.net framework above 3

            P 1 Reply Last reply
            0
            • T tanzeel85

              asp.net framework above 3

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #6

              This[^] should help if you are still having a problem.

              Forgive your enemies - it messes with their heads

              My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

              T 1 Reply Last reply
              0
              • P Pete OHanlon

                This[^] should help if you are still having a problem.

                Forgive your enemies - it messes with their heads

                My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                T Offline
                T Offline
                tanzeel85
                wrote on last edited by
                #7

                still have problem. can you tell where i put this code..please help its urgent and very important

                P 1 Reply Last reply
                0
                • T tanzeel85

                  still have problem. can you tell where i put this code..please help its urgent and very important

                  P Offline
                  P Offline
                  Pete OHanlon
                  wrote on last edited by
                  #8

                  tanzeel85 wrote:

                  can you tell where i put this code..please help its urgent and very important

                  Have you read the article? Downloaded the code and tried it? I can't help you with your project because it's your project, not mine. I have no idea what the structure of your pages is, how you've laid out the site, etc. And, while it's urgent and very important to you, it has zero urgency for me. In future, please refrain from putting this in - it just serves to anger people because it looks like you think your time is more important than mine.

                  Forgive your enemies - it messes with their heads

                  My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                  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