我正在使用RadGrid
with Show Footer = true
,当我在浏览器中打开此页面时,它工作正常。但是,当我通过电子邮件发送此网格并在 Outlook 中打开时,我的网格总数将显示在项目上方。请参阅下面与 Outlook 中的问题相关的屏幕截图
它在浏览器(Firefox)中看起来不错。但是当我检查呈现的 HTML 时,页脚 HTML 位于页眉和正文之间。
我的示例代码:
<telerik:RadGrid ID="radGrid1" runat="server" OnItemDataBound="RadGrid1_ItemDataBound"
DataSourceID="ObjectDataSource1" OnDeleteCommand="radGrid1_OnDeleteCommand" OnItemCommand="RadGridTask_ItemCommand"
ShowFooter="true" AllowSorting="false">
<MasterTableView OverrideDataSourceControlSorting="true" CommandItemDisplay="None"
NoDetailRecordsText="" NoMasterRecordsText="" EnableNoRecordsTemplate="false"
ShowHeadersWhenNoRecords="false" EditMode="PopUp" DataKeyNames="LabourID" DataSourceID="ObjectDataSource1">
<CommandItemSettings ExportToPdfText="Export to PDF" />
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
</RowIndicatorColumn>
<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="TotalMins" HeaderText="Duration" SortExpression="TotalMins"
UniqueName="TotalMins" HeaderStyle-Width="90px" FilterControlAltText="Filter TotalMins column"
Aggregate="Sum" FooterText=" ">
<HeaderStyle BorderColor="#872B07" CssClass="tb_head" />
<ItemStyle Wrap="false" Width="90px" CssClass="tb_cell" />
<FooterStyle Font-Bold="True" Font-Size="12px"></FooterStyle>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="TotalCharge" HeaderText="Total" SortExpression="TotalCharge"
UniqueName="TotalCharge" DataFormatString="{0:c}" HeaderStyle-Width="80px" FilterControlAltText="Filter TotalCharge column"
Aggregate="Sum" FooterText="Total: ">
<HeaderStyle BorderColor="#872B07" CssClass="tb_head" />
<FooterStyle Font-Bold="True" Font-Size="12px"></FooterStyle>
<ItemStyle Wrap="false" Width="90px" CssClass="tb_cell" />
<HeaderStyle Width="80px" />
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
<ClientSettings>
</ClientSettings>
<FilterMenu EnableImageSprites="False">
</FilterMenu>