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

RadGrid Not displaying data in IE7

3 Answers 117 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Smith
Top achievements
Rank 1
Smith asked on 09 Apr 2012, 09:44 PM
Hi,

Telerik Version: 2011, 3, 1115, 40
Browser Version: IE7 Standards

I have an odd issue with a pretty simple radgrid. In IE7 Standards mode, if a radgrid has cell text that exceeds the length of the cell, it hides the entire grid. If the columns are resized, it will render the grid like it should.

overflow:hidden on class="rgMasterTable rgClipCells rgClipCells" is the problem. I'm just not sure how to fix it.

Here's the grid:

<telerik:RadGrid ID="NotificationRadGrid" OnNeedDataSource="NotificationRadGrid_NeedDataSource" runat="server"
    GridLines="Horizontal">
    <ClientSettings>
        <ClientEvents OnRowSelected="ShowNotification" />                                         
    </ClientSettings>                                       
    <MasterTableView ShowHeader="true" AllowPaging="false" TableLayout="Fixed" ClientDataKeyNames="Notification_ID" ItemStyle-Wrap="False" HeaderStyle-Wrap="False">                                           
        <Columns>
            <telerik:GridBoundColumn  DataField="Notification_Number"
                HeaderStyle-VerticalAlign="Bottom" HeaderStyle-Width="10%"  HeaderStyle-HorizontalAlign="Center"
                HeaderText="Number" ItemStyle-VerticalAlign="Top"
                 SortExpression="Notification_Number" UniqueName="Notification_Number">                                                   
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn  DataField="Notification_Title"
                HeaderStyle-VerticalAlign="Bottom" HeaderStyle-Width="65%"
                HeaderText="Title" ItemStyle-VerticalAlign="Top"
                SortExpression="Notification_Title" UniqueName="Notification_Title">                                                      
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn  DataField="Notification_Priority"
                HeaderStyle-VerticalAlign="Bottom" HeaderStyle-Width="10%"  HeaderStyle-HorizontalAlign="Center"
                HeaderText="Priority" ItemStyle-VerticalAlign="Top"
                SortExpression="Notification_Priority" UniqueName="Notification_Priority">                                                            
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn  DataField="Notification_Published_Date"
                HeaderStyle-VerticalAlign="Bottom" HeaderStyle-Width="15%" HeaderStyle-HorizontalAlign="Center"
                HeaderText="Published" ItemStyle-VerticalAlign="Top"
                SortExpression="Notification_Published_Date" UniqueName="Notification_Published_Date" DataType="System.DateTime" DataFormatString="{0:MM/dd/yyyy}">      
            </telerik:GridBoundColumn>
        </Columns>                                           
        <CommandItemTemplate>
        </CommandItemTemplate>
    </MasterTableView>
</telerik:RadGrid>

Any help would be appreciated.

Smith

3 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 10 Apr 2012, 11:02 AM
Hello smith, 

<!--[if lte IE 7]>
    <style type="text/css">
       .RadGrid .rgMasterTable .rgClipCells
        {
           // Set property here
            overflow : hidden !important;
        }
    </style>
    <![endif]-->

Note : set your own property in place of "overflow".
Thanks,
Jayesh Goyani
0
Smith
Top achievements
Rank 1
answered on 10 Apr 2012, 11:16 PM
Thanks for the suggestion, Jayesh.

Unfortunately, simply changing the rule does nothing. It has to do with the rendering of the grid somehow. I identified that class by using the developer tools to disable that inline style rule, but simply changing the rule doesn't do anything.

Any other ideas.
0
Jayesh Goyani
Top achievements
Rank 2
answered on 12 Apr 2012, 10:02 AM
Hello smith,

can you please provide css class and attached file(s) for understand your requirement.

Thanks,
jayesh goyani
Tags
Grid
Asked by
Smith
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Smith
Top achievements
Rank 1
Share this question
or