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