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

totals not visible in IE9 compatibility mode

8 Answers 17 Views
Grid
This is a migrated thread and some comments may be shown as answers.
MBEN
Top achievements
Rank 1
Veteran
MBEN asked on 27 Nov 2013, 12:17 AM
I have some hyperlinks in the footer of the radgrid.
I am running IE 9. They show up fine in IE9 but when i run in compatibility mode they are no longer visible. This might be a problem for our users who are running older versions of IE.

Below is my grid declaration:
<telerik:radgrid id="rgBalances" runat="server" cellpadding="0" cellspacing="0" borderwidth="0"
    gridlines="None" allowpaging="True" allowsorting="True" datasourceid="_dataSrcBalances"
    pagesize="15" enablesortingandpagingcallbacks="false" autogeneratecolumns="false"
    allowautomaticupdates="false" allowautomaticinserts="false" enablelinqexpressions="false"
    allowfilteringbycolumn="false" onprerender="rgBalances_PreRender" onitemcommand="rgBalances_ItemCommand"
    allowautomaticdeletes="false" skin="MBen" enableembeddedskins="false" onitemdatabound="rgBalances_ItemDataBound"
    onitemcreated="rgBalances_ItemCreated" allowcustompaging="false" width="100%"
    imagespath="../../App_Themes/MBen/Grid" showfooter="true">
    <MasterTableView TableLayout="Fixed" HierarchyDefaultExpanded="true" CommandItemDisplay="Top"
        Name="DivisionBalance" DataKeyNames="DivisionID" EnableNoRecordsTemplate="true"
        PagerStyle-AlwaysVisible="true">
        <CommandItemSettings ShowAddNewRecordButton="false" ShowRefreshButton="false" ShowExportToExcelButton="true"
            ExportToExcelText="" ExportToCsvText="" ExportToPdfText="" ExportToWordText=""
            ShowExportToPdfButton="true" ShowExportToWordButton="true" ShowExportToCsvButton="true" />
        <NoRecordsTemplate>
            <div style="color: Red; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif;
                font-weight: bold">
                <br />
                Please select a plan to show activity for the specific plan.
            </div>
        </NoRecordsTemplate>
        <HeaderStyle HorizontalAlign="Center" />
        <ItemStyle HorizontalAlign="Right" />
        <AlternatingItemStyle HorizontalAlign="Right" />
        <Columns>
            <telerik:GridTemplateColumn UniqueName="AccountName" HeaderText="Source" SortExpression="AccountName"
                HeaderStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">
                <ItemTemplate>
                    <%# Eval("AccountName")%>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:Label ID="lblTotal" runat="server" Text="Total:" ForeColor="White" Font-Bold="true"></asp:Label>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="BeginBalance" HeaderText="Begin Balance"
                ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right" HeaderStyle-Width="11%"
                SortExpression="BeginBalanceDollars" AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkBeginBalance" runat="server" Text='<%# Eval("BeginBalanceDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkBeginBalanceTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="Contributions" HeaderText="Contributions"
                ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right" SortExpression="ContributionDollars"
                HeaderStyle-Width="11%" AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkContributions" runat="server" Text='<%# Eval("ContributionDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkContributionsTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="Distributions" HeaderText="Distributions"
                ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right" SortExpression="DistributionDollars"
                HeaderStyle-Width="11%" AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkDistributions" runat="server" Text='<%# Eval("DistributionDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkDistributionsTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="Forfeitures" HeaderText="Forfeitures" ItemStyle-HorizontalAlign="Right"
                FooterStyle-HorizontalAlign="Right" SortExpression="ForfeitureDollars" HeaderStyle-Width="10%"
                AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkForfeitures" runat="server" Text='<%# Eval("ForfeitureDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkForfeituresTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="Transfers" HeaderText="Transfers" ItemStyle-HorizontalAlign="Right"
                FooterStyle-HorizontalAlign="Right" SortExpression="TransferDollars" HeaderStyle-Width="10%"
                AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkTransfers" runat="server" Text='<%# Eval("TransferDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkTransfersTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="Earnings" HeaderText="Earnings" ItemStyle-HorizontalAlign="Right"
                FooterStyle-HorizontalAlign="Right" SortExpression="Earnings" HeaderStyle-Width="10%"
                AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkEarnings" runat="server" Text='<%# Eval("Earnings")%>'></asp:HyperLink>
                    <div style="left: -100px;">
                        <asp:Panel ID="earningsDiv" runat="server" CssClass="hide">
                            <asp:Literal ID="earningsDivText" runat="server" /></asp:Panel>
                    </div>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkEarningsTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="EndBalance" HeaderText="End Balance" ItemStyle-HorizontalAlign="Right"
                FooterStyle-HorizontalAlign="Right" HeaderStyle-Width="11%" SortExpression="EndBalanceDollars"
                AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkEndBalance" runat="server" Text='<%# Eval("EndBalanceDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkEndBalanceTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="EndBalanceVested" HeaderText="Vested End Balance"
                ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right" HeaderStyle-Width="11%"
                SortExpression="EndBalanceVestedDollars" AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkEndBalanceVested" runat="server" Text='<%# Eval("EndBalanceVestedDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkEndBalanceVestedGrandTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridBoundColumn UniqueName="Dividend" DataField="DividendDollars" Display="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Appreciation" DataField="AppreciationDollars"
                Display="false">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
    <ExportSettings ExportOnlyData="true" IgnorePaging="true" FileName="Activity" OpenInNewWindow="true">
        <Pdf PaperSize="A4" PageLeftMargin="5px" PageRightMargin="5px" PageWidth="297mm"
            PageHeight="210mm" />
    </ExportSettings>
</telerik:radgrid>

8 Answers, 1 is accepted

Sort by
0
MBEN
Top achievements
Rank 1
Veteran
answered on 27 Nov 2013, 12:33 AM
Update: I forgot to add that I recently upgraded to the latest telerik controls and that's whn i started seeing the issue.
I don't know if this helps but with the earlier controls I had all the columns that have Display="false" set as Visible="false". I started running into issues with that so I had to change the visible property to display and set that to false instead.

When I view the css in the developer toold I noticed that the footer for the first column is spanning across 9 columns of the grid that are displayed (colspan="9"). I have not specified that anywhere. Why is it spanning across 9 cells? If I change my TableLayout="Auto" then I see the footers as in the attached screenshot.
Please help...I need to fix this!
0
Pavlina
Telerik team
answered on 29 Nov 2013, 09:34 PM
Hello,

I followed your scenario and prepared a sample runnable project using dummy data and it is working without problems. Give it a try and see how it goes on your end.

Regards,
Pavlina
Telerik
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 the blog feed now.
0
MBEN
Top achievements
Rank 1
Veteran
answered on 10 Mar 2014, 10:01 PM
I am running into this issue again.
When i use the developer tools to view css it seems like in compatibility mode the first column in the footer is stretched across the entire width of the grid. The second footer column(and the corresponding columns) is pushed out to the right out of the grid though they are not visible.
I have attached an image displaying the scenario.
Please suggest.
0
MBEN
Top achievements
Rank 1
Veteran
answered on 10 Mar 2014, 10:03 PM
the file didn't get attached.
0
MBEN
Top achievements
Rank 1
Veteran
answered on 10 Mar 2014, 10:41 PM
attachements not going in earlier posts.
0
Pavlina
Telerik team
answered on 13 Mar 2014, 05:38 PM
Hi,

Can you please confirm that the same problem persists even with the latest version - Q1 2014?

Regards,
Pavlina
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
0
MBEN
Top achievements
Rank 1
Veteran
answered on 14 Apr 2014, 06:23 PM
I upgraded to latest controls ie, 2014 controls but I am still facing the issue.
0
MBEN
Top achievements
Rank 1
Veteran
answered on 14 Apr 2014, 09:53 PM
sorry for some reason the grid was not refreshing.
It seems to be working fine now.
Tags
Grid
Asked by
MBEN
Top achievements
Rank 1
Veteran
Answers by
MBEN
Top achievements
Rank 1
Veteran
Pavlina
Telerik team
Share this question
or