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 control with scrollbar

Gridview control with scrollbar

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorialquestion
6 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.
  • P Offline
    P Offline
    Pothirajan C
    wrote on last edited by
    #1

    Could any one give me some idea on how to give the scrolling for a gridview or Datagrid control in ASP.NET? Thanks in Advance, Pothirajan C

    J M 2 Replies Last reply
    0
    • P Pothirajan C

      Could any one give me some idea on how to give the scrolling for a gridview or Datagrid control in ASP.NET? Thanks in Advance, Pothirajan C

      J Offline
      J Offline
      jitendrapatel
      wrote on last edited by
      #2

      Hi, U can use

      tag to displaying scrollable data grid.I think the below code solve ur problem.

      Hope ur problem will be solve. Jitendra Patel (CE)

      A 1 Reply Last reply
      0
      • J jitendrapatel

        Hi, U can use

        tag to displaying scrollable data grid.I think the below code solve ur problem.

        Hope ur problem will be solve. Jitendra Patel (CE)

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

        Hi Jitendra, Thanks a lot. Now I need one more thing from u i.e, I want my column header to be displayed statically when I am scrolling down in the data grid. Please let me know how to do that. Expecting reply from u. Thanks in Advance, Pothirajan C

        J 1 Reply Last reply
        0
        • P Pothirajan C

          Could any one give me some idea on how to give the scrolling for a gridview or Datagrid control in ASP.NET? Thanks in Advance, Pothirajan C

          M Offline
          M Offline
          minhpc_bk
          wrote on last edited by
          #4

          Hi there, Take a look at the article Creating a Scrollable Datagrid with a Fixed Header[^] You can also find a ton of datagrid examples from the site http://www.datagridgirl.com/articles.aspx[^]

          1 Reply Last reply
          0
          • A Anonymous

            Hi Jitendra, Thanks a lot. Now I need one more thing from u i.e, I want my column header to be displayed statically when I am scrolling down in the data grid. Please let me know how to do that. Expecting reply from u. Thanks in Advance, Pothirajan C

            J Offline
            J Offline
            jitendrapatel
            wrote on last edited by
            #5

            Hi, Friend thanks for using my code. If u want to use static header then u have to use another

            . The code is as below. This is the most usable code from my side. Apply style as per ur requirement. Adjust heading exactly above datagrid's heading. Hope u will be satisfy with this code.

            ProductName

            QuantityPerUnit

            UnitPrice

            UnitsInStock

            Bye. Jitendra J. A. Patel

            A 1 Reply Last reply
            0
            • J jitendrapatel

              Hi, Friend thanks for using my code. If u want to use static header then u have to use another

              . The code is as below. This is the most usable code from my side. Apply style as per ur requirement. Adjust heading exactly above datagrid's heading. Hope u will be satisfy with this code.

              ProductName

              QuantityPerUnit

              UnitPrice

              UnitsInStock

              Bye. Jitendra J. A. Patel

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

              Hi Jitendra, What code u have given working fine, but I am loosing the sorting functionality for the DataGrid / Gridview. What to do for that Expecting reply, Pothirajan C

              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