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

Grid FilterRow doesn't render correctly in IE8 compatibility mode

1 Answer 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Karl
Top achievements
Rank 1
Karl asked on 07 Jul 2011, 09:34 AM
Hi all.

I posted a reply to this post ( http://www.telerik.com/community/forums/aspnet-ajax/grid/grid-renders-differently-from-development-when-in-production.aspx#963065 ) yesterday but wanted to start a fresh post incase no one is monitoring that post any more

I have a grid with a filter row that renders incorrectl when IE8 is used in compatibility mode. I have attached 3 images to show what they look like in different scenarios..

Image 1 shows the header of my grid in IE8 with compatibility mode turned off.
Image 2 shows the same header in the same browser with compatibility turned on.
Image 3 shows the same setup as image2, but with the FilterControlWidth set to 50px, which is much narrower than the filter icon's required space.

The code for the first column (Customer Reference) is shown here...

This is the same code used to generate Image 1 and Image 2.
<telerik:GridBoundColumn 
        HeaderText="Customer reference"
        DataField="External_Document_No"
        SortExpression="External_Document_No"
        FilterControlWidth="108px"
        FilterListOptions="VaryByDataType"
        >
    <HeaderStyle    HorizontalAlign="Left"      Width="158px" />
    <ItemStyle      HorizontalAlign="Left"      Width="158px" />
</telerik:GridBoundColumn>

This is the code used to generate Image 3...
<telerik:GridBoundColumn 
        HeaderText="Customer reference"
        DataField="External_Document_No"
        SortExpression="External_Document_No"
        FilterControlWidth="50px"
        FilterListOptions="VaryByDataType"
        >
    <HeaderStyle    HorizontalAlign="Left"      Width="158px" />
    <ItemStyle      HorizontalAlign="Left"      Width="158px" />
</telerik:GridBoundColumn>

It seems that the FilterControlWidth option is only setting the textbox and not the overall width of the filter item (the textbox and the filter button)

Any ideas why the filter row doesn't all sit nice and neatly on one row?

1 Answer, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 13 Jul 2011, 08:58 AM
Hello Karl,

Please note that it is highly recommended that you keep related questions in one support thread or a forum post, so that we can easily keep track of your support history and provide better answers in a shorter time.

However, you can refer to the other forum post for additional information.

Kind regards,
Pavlina
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Grid
Asked by
Karl
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or