RadGrid Expands Content Area when using allowscroll=True in IE 7

3 posts, 0 answers
  1. Joshua Medor
    Joshua Medor avatar
    3 posts
    Member since:
    Oct 2009

    Posted 20 Jul 2010 Link to this post

    I am using a radgrid where in the ClientSettings, I have AllowScroll="true" and UseStaticHeaders="true".  This grid is in a user control sitting on a webform that is loaded into a MasterPage content area.  What's happening is that the grid is sizing correctly on the page but the masterpage width and height are getting expanded based on the number of columns and rows we add to the grid.  In other words, it's as if the page is trying to account for the space occupied by the grid even though we set the scroll to true.  A thing to note about this is that I want the grid to horizontally scroll, so we deliberately are settings the pixels on each of the columns in the grid to exceed the width of the grid to invoke the horizontal scroll.  And after doing a little more testing, as soon as UseStaticHeaders is set to true, the effect described above occurs.  Have the headers locked in for vertical scrolling is essential, so we would like to keep the UseStaticHeaders set to true.  Any help would be greatly appreciated.  Thanks.
  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 23 Jul 2010 Link to this post

    Hello Joshua,

    Please note that when grid with scrolling enabled is wrapped inside a table cell (under IE only) you may need to set the layout of the corresponding table to fixed to avoid unwanted stretching of the scrolling area:

    <table style="table-layout:fixed;">
      grid definition
    </table>

    This is due to the specific IE box model.

    Greetings,
    Pavlina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mark Perry
    Mark Perry avatar
    17 posts
    Member since:
    Mar 2010

    Posted 30 Sep 2010 Link to this post

    I was having the same issue in IE 7. Thanks!
Back to Top