HeaderStyle doesn't set column width properly with IE 7.

2 posts, 1 answers
  1. Eric
    Eric avatar
    24 posts
    Member since:
    Jan 2008

    Posted 09 Mar 2010 Link to this post

    When I set the column width with HeaderStyle property with the below statement, the columns are rendered 200 pixels with IE8, Firefox, Opera and Safari but 216 pixels with IE7. I am using 2009 Q2 SP2 and I am using WebBlue skin.

    <HeaderStyle Width="200px" />

    If you check column width of the below radgrid example first with IE8 and than with IE7 compatibility view you'll see what I mean.


    Thank you...
  2. Answer
    Dimo avatar
    8404 posts

    Posted 09 Mar 2010 Link to this post

    Hi Eric,

    This is a browser-specific behavior. The only way to avoid it is to remove all cell paddings (which will greatly reduce readability), or use server-side browser detection and set different widths, depending on the IE version.

    Kind regards,
    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.
Back to Top