This is a migrated thread and some comments may be shown as answers.

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

1 Answer 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 09 Mar 2010, 03:20 PM
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.

http://demos.telerik.com/aspnet-ajax/grid/examples/client/scrolling/defaultcs.aspx

Thank you...

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 09 Mar 2010, 04:24 PM
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,
Dimo
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.
Tags
Grid
Asked by
Eric
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or