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

RadGrid headers is not the same length as columns

3 Answers 27 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 16 Aug 2012, 08:44 PM
i have a RadGrid that works when in IE9 document mode, but in IE7 document mode the headers' length are shorter than the corresponding columns' length (see attached).  is there something that can make their lengths the same?  thanks. 

<telerik:RadGrid runat="server" ID="rgdDataPreview" Skin="Office2007" AutoGenerateColumns="true" AllowPaging="true" PageSize="5" OnNeedDataSource="rgdDataPreview_NeedDataSource" OnPageIndexChanged="rgdDataPreview_PageIndexChanged"
                                                OnPageSizeChanged="rgdDataPreview_PageSizeChanged"   
                                                AllowSorting="false" Width="1200px" >
                                                <ClientSettings>
                                                    <Scrolling AllowScroll="true" />
                                                    <Resizing AllowColumnResize="True" AllowRowResize="false" ResizeGridOnColumnResize="false"
                                                        ClipCellContentOnResize="true" EnableRealTimeResize="false" AllowResizeToFit="true" />
                                                </ClientSettings>
                                            </telerik:RadGrid>

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 21 Aug 2012, 02:39 PM
Hello,

You can try setting fixed layout for the grid and 100% width for MasterTableView as shown below and see if it helps:
<MasterTableView Width="100%" TableLayout="Fixed">

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Michael
Top achievements
Rank 1
answered on 21 Aug 2012, 06:38 PM
i have tried that already but it didn't work. 
0
Pavlina
Telerik team
answered on 22 Aug 2012, 04:45 PM
Hi,

I took the provided code and tried to replicate the problem you are facing in IE7 document mode, but to no avail. Find attached my test page, give it a try and let me know what is the difference in your case.

All the best,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Michael
Top achievements
Rank 1
Share this question
or