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 view problem:the horizontal scrollbars appears at screen resolution of 800 by 600 pixels

Datagrid view problem:the horizontal scrollbars appears at screen resolution of 800 by 600 pixels

Scheduled Pinned Locked Moved ASP.NET
help
4 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.
  • R Offline
    R Offline
    rohit_singh1679
    wrote on last edited by
    #1

    I have three datagrid which is created at runtime which contains textboxes,check boxes and lables which is also created at runtime.There is no horizontal scrollbars on screen resolution of 1152 by 864 pixels and the resolution around it. If we change the screen resolution to and around 800 by 600 pixels the horizontal scrollbars appears in the datagrid. If we change the screen resolution to and around 1600 by 1200 pixels the horizontal scrollbars appears in the screen and the data is not visible without moving a scrollbar. We want the datagrid without any horizontal scrollbars and data inside it can be seen in one screen without scrolling.we want the datagrid and the data inside it to be adjusted to one screen at any screen resolution.

    M 1 Reply Last reply
    0
    • R rohit_singh1679

      I have three datagrid which is created at runtime which contains textboxes,check boxes and lables which is also created at runtime.There is no horizontal scrollbars on screen resolution of 1152 by 864 pixels and the resolution around it. If we change the screen resolution to and around 800 by 600 pixels the horizontal scrollbars appears in the datagrid. If we change the screen resolution to and around 1600 by 1200 pixels the horizontal scrollbars appears in the screen and the data is not visible without moving a scrollbar. We want the datagrid without any horizontal scrollbars and data inside it can be seen in one screen without scrolling.we want the datagrid and the data inside it to be adjusted to one screen at any screen resolution.

      M Offline
      M Offline
      MihirV
      wrote on last edited by
      #2

      hi there you should set width of the datagrid to 100% will solve ur prob. :) Confidence comes not from always being right, but from not fearing to be wrong..... Mihir..

      R 2 Replies Last reply
      0
      • M MihirV

        hi there you should set width of the datagrid to 100% will solve ur prob. :) Confidence comes not from always being right, but from not fearing to be wrong..... Mihir..

        R Offline
        R Offline
        rohit_singh1679
        wrote on last edited by
        #3

        This answer is not right.

        1 Reply Last reply
        0
        • M MihirV

          hi there you should set width of the datagrid to 100% will solve ur prob. :) Confidence comes not from always being right, but from not fearing to be wrong..... Mihir..

          R Offline
          R Offline
          rohit_singh1679
          wrote on last edited by
          #4

          This answer is not correct.

          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