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. Datagrid w/ one record on last page has too much verticle height

Datagrid w/ one record on last page has too much verticle height

Scheduled Pinned Locked Moved ASP.NET
helpquestion
3 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.
  • B Offline
    B Offline
    bubberz
    wrote on last edited by
    #1

    I have a datagrid with three pages. The last page has just one record, but that record has a verticle height of three to four times of what it should be. It's just visually crud! Any way to fix this? Thanks!

    S 1 Reply Last reply
    0
    • B bubberz

      I have a datagrid with three pages. The last page has just one record, but that record has a verticle height of three to four times of what it should be. It's just visually crud! Any way to fix this? Thanks!

      S Offline
      S Offline
      sstocker
      wrote on last edited by
      #2

      Check the height attribute of your datagrid: Set the height so your last page looks good with only one record. Changing the height should not affect how the datagrid performs on the other two pages. Hope that helps.

      B 1 Reply Last reply
      0
      • S sstocker

        Check the height attribute of your datagrid: Set the height so your last page looks good with only one record. Changing the height should not affect how the datagrid performs on the other two pages. Hope that helps.

        B Offline
        B Offline
        bubberz
        wrote on last edited by
        #3

        sstocker! Thanks...that did it!

        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