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. Scrolling problem with invincible data grid

Scrolling problem with invincible data grid

Scheduled Pinned Locked Moved ASP.NET
csshelpquestion
1 Posts 1 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.
  • J Offline
    J Offline
    J Liang
    wrote on last edited by
    #1

    Hi, I am having some problem with the layout of the ASP page. Here is what happens. I have 2 data grid inside a page which makes the page to be longer and therefore automatically a scrollbar will appear on the side of the browser for user to scroll down. But what I set in the code is, only one datagrid will show at one time base on some criteria. So on the user side, it is appears not longer than the window size and therefore should not have any scroll bar at the side of the window. The problem is, the 2nd datagrid is visible=false but the browser still detect the 2nd datagrid which tells the browser the web page is much longer than the window and therefore the scrollbar appear on the side. What I want to know is, is there any way to tell the browser not to take into account those invincible components like the 2nd datagrid and so do not give a scrollbar at the side of the window? Thanks in advance.

    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