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

Gridview

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netquestion
7 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.
  • A Offline
    A Offline
    A kamath
    wrote on last edited by
    #1

    How can I keep scrollbars in Gridview instead of paging(asp.net2/c#)

    _ R 2 Replies Last reply
    0
    • A A kamath

      How can I keep scrollbars in Gridview instead of paging(asp.net2/c#)

      _ Offline
      _ Offline
      _AK_
      wrote on last edited by
      #2

      Using scrollbars are not the alternative for paging. Because still your will be very heavy and it will take time in loading. Anyway if you want to use scrollbar the you can have a look at this[^]. This will give you an idea on how to implement that.

      Best Regards, Apurva Kaushal

      A 1 Reply Last reply
      0
      • _ _AK_

        Using scrollbars are not the alternative for paging. Because still your will be very heavy and it will take time in loading. Anyway if you want to use scrollbar the you can have a look at this[^]. This will give you an idea on how to implement that.

        Best Regards, Apurva Kaushal

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

        Thanks.

        _ 1 Reply Last reply
        0
        • A A kamath

          Thanks.

          _ Offline
          _ Offline
          _AK_
          wrote on last edited by
          #4

          Always welcome.. :)

          Best Regards, Apurva Kaushal

          1 Reply Last reply
          0
          • A A kamath

            How can I keep scrollbars in Gridview instead of paging(asp.net2/c#)

            R Offline
            R Offline
            RichardGrimmer
            wrote on last edited by
            #5

            Easiest way is to set AllowPaging="false" which stops it paging (obviously!), then put it inside a div with overflow:scroll style attribute set

            "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

            A 1 Reply Last reply
            0
            • R RichardGrimmer

              Easiest way is to set AllowPaging="false" which stops it paging (obviously!), then put it inside a div with overflow:scroll style attribute set

              "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

              A Offline
              A Offline
              A kamath
              wrote on last edited by
              #6

              Thanks, I have done and I got the scroll bars. But I only need vertical scroll bars. by doing this both vertical and horizontal scroll bars are coming.

              R 1 Reply Last reply
              0
              • A A kamath

                Thanks, I have done and I got the scroll bars. But I only need vertical scroll bars. by doing this both vertical and horizontal scroll bars are coming.

                R Offline
                R Offline
                RichardGrimmer
                wrote on last edited by
                #7

                OK....now a quick google would've told you this, but use overflow-x and overflow-y

                "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

                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