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 Row Height Problem..

GridView Row Height Problem..

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

    I am using GridView1 to populate records. But I have problem with Rows height of GridView1. When GridView1 has more than 10 records then GirdView1 rows height is normal. But when the record count is one...Then Rows height goes bigger and bigger... How to fix this issue?

    T K V 3 Replies Last reply
    0
    • S Sr Frank

      I am using GridView1 to populate records. But I have problem with Rows height of GridView1. When GridView1 has more than 10 records then GirdView1 rows height is normal. But when the record count is one...Then Rows height goes bigger and bigger... How to fix this issue?

      T Offline
      T Offline
      ToddHileHoffer
      wrote on last edited by
      #2

      What is the height property of the gridview? Make sure the height property of your gridview is not set or blank. If you don't want the grid to be more then a certain height put it inside a div tag and set the height of the div.

      I didn't get any requirements for the signature

      S 1 Reply Last reply
      0
      • S Sr Frank

        I am using GridView1 to populate records. But I have problem with Rows height of GridView1. When GridView1 has more than 10 records then GirdView1 rows height is normal. But when the record count is one...Then Rows height goes bigger and bigger... How to fix this issue?

        K Offline
        K Offline
        kumar_k508
        wrote on last edited by
        #3

        You Can set the Row hight property also ....

        S 1 Reply Last reply
        0
        • K kumar_k508

          You Can set the Row hight property also ....

          S Offline
          S Offline
          Sr Frank
          wrote on last edited by
          #4

          DIV not working..

          1 Reply Last reply
          0
          • T ToddHileHoffer

            What is the height property of the gridview? Make sure the height property of your gridview is not set or blank. If you don't want the grid to be more then a certain height put it inside a div tag and set the height of the div.

            I didn't get any requirements for the signature

            S Offline
            S Offline
            Sr Frank
            wrote on last edited by
            #5

            div not working...

            T 1 Reply Last reply
            0
            • S Sr Frank

              div not working...

              T Offline
              T Offline
              ToddHileHoffer
              wrote on last edited by
              #6

              div style="max-height: 300px; overflow: auto; width: 600px; height: 300px"

              I didn't get any requirements for the signature

              S 1 Reply Last reply
              0
              • T ToddHileHoffer

                div style="max-height: 300px; overflow: auto; width: 600px; height: 300px"

                I didn't get any requirements for the signature

                S Offline
                S Offline
                Sr Frank
                wrote on last edited by
                #7

                not worked

                1 Reply Last reply
                0
                • S Sr Frank

                  I am using GridView1 to populate records. But I have problem with Rows height of GridView1. When GridView1 has more than 10 records then GirdView1 rows height is normal. But when the record count is one...Then Rows height goes bigger and bigger... How to fix this issue?

                  V Offline
                  V Offline
                  vishnukamath
                  wrote on last edited by
                  #8

                  This is windows Application " DataGridview1.AutoSizeRowsMode=None " (Set in DataGridview1 properties)

                  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