Radwindow closes when Radgrid inside is sorted - radgrid

I have a RadWindow containing a RadGrid. When a user clicks on a grid column to sort, it closes the RadWindow.
Is there an easy way to prevent the window from closing until they explicitly close it?
Thanks!
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link href="CashExposure.css" rel="stylesheet" />
<link href="CashAdmin.css" rel="stylesheet" />
</head>
<body>
<form id="formCashExposure" runat="server">
<telerik:radskinmanager id="cashSkinMgr" runat="server" showchooser="False" skin="WebBlue" />
<telerik:radscriptmanager id="CashRadScriptManager" runat="server" enablepagemethods="True" />
<div id="divMain">
<telerik:radtabstrip id="cashTabs" runat="server" text="Exposure Report" multipageid="cashMultiPage" selectedindex="0"
ontabclick="tabStrip_onTabClick" reordertabsonselect="False" cssclass="radTabStrip">
<Tabs>
<telerik:RadTab runat="server" Text="Exposure Detail Report" CssClass="radTab"></telerik:RadTab>
<telerik:RadTab runat="server" Text="Admin" CssClass="radTab"></telerik:RadTab>
</Tabs>
</telerik:radtabstrip>
<telerik:radmultipage id="cashMultiPage" runat="server" selectedindex="0">
<telerik:RadPageView ID="exposureReportTab" runat="server">
<uc1:ExposureReport runat="server" id="ExposureReport" />
</telerik:RadPageView>
<telerik:RadPageView ID="cashAdminTab" runat="server">
<uc1:CashAdmin runat="server" id="CashAdmin" />
</telerik:RadPageView>
</telerik:radmultipage>
<telerik:radwindow id="DetailPopup" runat="server" width="800px" height="500px" modal="True">
<ContentTemplate>
<telerik:radgrid
allowfilteringbycolumn="True"
allowpaging="True"
pagesize="40"
allowsorting="True"
autogeneratecolumns="False"
autopostbackonfilter="False"
enablepostbackonrowclick="False"
onneeddatasource="gridDetailPopup_NeedDataSource"
onitemdatabound="gridDetailPopup_ItemDataBound"
onupdatecommand="gridDetailPopup_UpdateCommand"
id="gridDetail"
runat="server"
width="780px">
<SortingSettings EnableSkinSortStyles="False" />
<GroupingSettings
CaseSensitive="False" />
<ClientSettings
AllowKeyboardNavigation="False"
EnableRowHoverStyle="True"
EnablePostBackOnRowClick="False">
<KeyboardNavigationSettings
EnableKeyboardShortcuts="False" />
<Selecting AllowRowSelect="True" CellSelectionMode="SingleCell"></Selecting>
</ClientSettings>
<MasterTableView
TableLayout="Fixed" Height="14px" border-left-width="0px" Font-Names="Calibri" font-Size="9">
<Columns>
<telerik:GridBoundColumn HeaderText="Location Account" ReadOnly="True" ItemStyle-CssClass="status" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Left"
CurrentFilterFunction="Contains" DataType="System.String" Display="True" ShowFilterIcon="false"
DataField="LocationAccount" UniqueName="LocationAccount" >
<HeaderStyle CssClass="noPadding" Width="95px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="CCY" ReadOnly="True" ItemStyle-CssClass="status" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Center"
CurrentFilterFunction="Contains" DataType="System.String" Display="True" ShowFilterIcon="false"
DataField="Currency" UniqueName="Currency"> <HeaderStyle CssClass="noPadding" Width="30px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Amount" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="Amount" UniqueName="Amount" DataFormatString="{0:C0}"> <HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Pay/Rec Type" ReadOnly="True" ItemStyle-CssClass="status" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Center"
CurrentFilterFunction="Contains" DataType="System.String" Display="True" ShowFilterIcon="false"
DataField="TransactionType" UniqueName="TransactionType"> <HeaderStyle CssClass="noPadding" Width="130px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Settle Date" ReadOnly="True" HeaderStyle-CssClass="noPadding" HeaderStyle-HorizontalAlign="Center"
AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Center" CurrentFilterFunction="Contains" DataType="System.DateTime"
DataField="SettleDate" UniqueName="SettleDate" Display="True" ShowFilterIcon="false" DataFormatString="{0:MM/dd/yyyy}">
<HeaderStyle Width="55px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Transaction ID" ReadOnly="True" ItemStyle-CssClass="status" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Center"
CurrentFilterFunction="Contains" DataType="System.String" Display="True" ShowFilterIcon="false"
DataField="TransactionID" UniqueName="TransactionID"> <HeaderStyle CssClass="noPadding" Width="90px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Geneva Trans ID" ReadOnly="True" ItemStyle-CssClass="status" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Center"
CurrentFilterFunction="Contains" DataType="System.String" Display="True" ShowFilterIcon="false"
DataField="GenevaTransactionID" UniqueName="GenevaTransactionID"> <HeaderStyle CssClass="noPadding" Width="90px" />
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:radgrid>
</ContentTemplate>
</telerik:radwindow>
</div>
<div>
<div id="divExposureReport">
<div id="divControls">
<asp:Label ID="lbValueDate" runat="server" Text="Value Date" />
<telerik:raddatepicker id="dpValueDate" runat="server" culture="en-US" autopostback="True"
onselecteddatechanged="dpValueDate_ChangedEvent" />
<telerik:radbutton id="btRefresh" runat="server" text="Refresh" onclick="btRefreshExposureReport_Click"></telerik:radbutton>
<telerik:radbutton id="ExportToExcel" runat="server" text="Export Excel" onclick="btExportToExcel_Click"></telerik:radbutton>
</div>
<asp:Panel runat="server" ID="exposureReportGrid">
<telerik:radgrid
allowfilteringbycolumn="True"
allowpaging="True"
PageSize="24"
allowsorting="True"
autogeneratecolumns="False"
autopostbackonfilter="False"
enablepostbackonrowclick="False"
onneeddatasource="gridExposureReport_NeedDataSource"
onitemdatabound="gridExposureReport_ItemDataBound"
onupdatecommand="gridExposureReport_UpdateCommand"
id="gridExposureReport"
runat="server"
width="2400px">
<SortingSettings EnableSkinSortStyles="False" />
<GroupingSettings
CaseSensitive="False" />
<ClientSettings
AllowKeyboardNavigation="False"
EnableRowHoverStyle="True"
EnablePostBackOnRowClick="False">
<KeyboardNavigationSettings
EnableKeyboardShortcuts="False" />
<Selecting CellSelectionMode="1" ></Selecting>
<ClientEvents OnRowDblClick="showCashDetailWindowDblClick"></ClientEvents>
</ClientSettings>
<MasterTableView
TableLayout="Fixed" Height="14px" border-left-width="0px" Font-Names="Calibri" font-Size="9">
<Columns>
<telerik:GridBoundColumn HeaderText="Account" ReadOnly="True" ItemStyle-CssClass="status" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Left"
CurrentFilterFunction="Contains" DataField="Account" DataType="System.String" Display="True"
ShowFilterIcon="false" UniqueName="Account" >
<HeaderStyle CssClass="noPadding" Width="95px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="CCY" ReadOnly="True" ItemStyle-CssClass="status" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Center"
CurrentFilterFunction="Contains" DataType="System.String" Display="True" ShowFilterIcon="false"
DataField="LocalCurrency" UniqueName="LocalCurrency"> <HeaderStyle CssClass="noPadding" Width="30px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="NAV" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="NavValue" UniqueName="NAV" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="80px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="GV Settled Local" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="GVSettledLocal" UniqueName="GVSettledLocal" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="GV Trade Local" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="GVTradeLocal" UniqueName="GVTradeLocal" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="GV Pending Trade (ex Div)" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="GVPendingTrade" UniqueName="GVPendingTrade" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="FX Pending Local" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="FXPendingLocal" UniqueName="FXPendingLocal" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Wires Pending Local" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="GVPendingWire" UniqueName="GVPendingWire" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="GV Settled as % NAV" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="GVSettledBasePctNav" UniqueName="GVSettledBasePctNav" DataFormatString="{0:##0.00#%;(##0.00#%);#.##}">
<HeaderStyle Width="55px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="BK Settled Local" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="BankSettledLocal" UniqueName="BankSettledLocal" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Local Settled Diff" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="LocalSettledDiff" UniqueName="LocalSettledDiff" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Comments" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Left"
CurrentFilterFunction="Contains" DataType="System.String" Display="True" ShowFilterIcon="false"
DataField="Comments" UniqueName="Comments"> <HeaderStyle Width="90px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Make Trade?" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Left"
CurrentFilterFunction="Contains" DataType="System.String" Display="True" ShowFilterIcon="false"
DataField="MakeTrade" UniqueName="MakeTrade"> <HeaderStyle Width="90px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Trade Amount" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="TradeAmount" UniqueName="TradeAmount" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="75px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Trade %" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.String" Display="True" ShowFilterIcon="false"
DataField="TradePercent" UniqueName="TradePercent" DataFormatString="{0:###,##0.00#%;(###,##0.00#)%;#.##}">
<HeaderStyle Width="50px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="C A C S" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Center"
CurrentFilterFunction="Contains" DataType="System.Int32" Display="True" ShowFilterIcon="false"
DataField="CACS" UniqueName="CACS"> <HeaderStyle Width="18px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="F X" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Center"
CurrentFilterFunction="Contains" DataType="System.Int32" Display="True" ShowFilterIcon="false"
DataField="FX" UniqueName="FX"> <HeaderStyle Width="18px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="I n c / E x p" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Center"
CurrentFilterFunction="Contains" DataType="System.Int32" Display="True" ShowFilterIcon="false"
DataField="IncExp" UniqueName="IncExp"> <HeaderStyle Width="18px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="T r a d e" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Center"
CurrentFilterFunction="Contains" DataType="System.Int32" Display="True" ShowFilterIcon="false"
DataField="Trade" UniqueName="Trade"> <HeaderStyle Width="18px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="W i r e" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Center"
CurrentFilterFunction="Contains" DataType="System.Int32" Display="True" ShowFilterIcon="false"
DataField="Wire" UniqueName="Wire"> <HeaderStyle Width="18px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="O t h e r" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Center"
CurrentFilterFunction="Contains" DataType="System.Int32" Display="True" ShowFilterIcon="false"
DataField="Other" UniqueName="Other"> <HeaderStyle Width="18px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Txfr Amount" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="TransferAmount" UniqueName="TransferAmount" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="80px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Settle Post" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="SettlePost" UniqueName="SettlePost" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Trade Post" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="TradePost" UniqueName="TradePost" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="GV Div Local" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" ShowFilterIcon="false" DataType="System.Double" Display="True"
DataField="GVDivLocal" UniqueName="GVDivLocal" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="FX Forward Pending Local" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="FxFwdPendingLocal" UniqueName="FxFwdPendingLocal" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="95px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Misc Accruals" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="MiscAccruals" UniqueName="MiscAccruals" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Non-Trading Accruals" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="NonTradingAccruals" UniqueName="NonTradingAccruals" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Mgmt and Incentive Fees" ReadOnly="True" HeaderStyle-CssClass="noPadding"
HeaderStyle-HorizontalAlign="Center" AutoPostBackOnFilter="True" ItemStyle-HorizontalAlign="Right"
CurrentFilterFunction="Contains" DataType="System.Double" Display="True" ShowFilterIcon="false"
DataField="MgmtIncentiveFees" UniqueName="MgmtIncentiveFees" DataFormatString="{0:###,###,###,##0.00;(###,###,###,##0.00);#.##}">
<HeaderStyle Width="85px" />
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:radgrid>
</asp:Panel>
</div>
</div>
</form>
</body>
</html>

Related

how to decrease jrxml band detail height dynamically

I have a band with 2 list element based. If both list have data PDF generated properly but if 1 list is empty band height doesn't decrease and places white blanks in PDF.
<?xml version="1.0" encoding="UTF-8"?><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="liberty_new_bill_format" pageWidth="595" pageHeight="842" columnWidth="571" leftMargin="12" rightMargin="12" topMargin="12" bottomMargin="12" uuid="b6691099-6e36-4db6-a00d-f7d0d2167bd6">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<subDataset name="LW_IDD_CALL" uuid="48484a78-7d0d-4b22-86bd-9ebd1daac462">
<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA["D:\\Projects\\BE5.0.0\\repository\\Bill Export Format\\"]]></defaultValueExpression>
</parameter>
<parameter name="ID_USERNAME" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
</parameter>
<queryString language="xPath">
<![CDATA[/custominfo/multiplerecord[#type="LW_CALL_DETAIL"]/record]]>
</queryString>
<field name="CALLDATETIME" class="java.lang.String">
<fieldDescription><![CDATA[#CALLDATETIME]]></fieldDescription>
</field>
<field name="CALLSECTION" class="java.lang.String">
<fieldDescription><![CDATA[#CALLSECTION]]></fieldDescription>
</field>
<field name="CALLTYPE" class="java.lang.String">
<fieldDescription><![CDATA[#CALLTYPE]]></fieldDescription>
</field>
<field name="COUNTRY" class="java.lang.String">
<fieldDescription><![CDATA[#COUNTRY]]></fieldDescription>
</field>
<field name="DURATIONMIN" class="java.lang.String">
<fieldDescription><![CDATA[#DURATIONMIN]]></fieldDescription>
</field>
<field name="DURATIONSEC" class="java.lang.String">
<fieldDescription><![CDATA[#DURATIONSEC]]></fieldDescription>
</field>
<field name="PHONENO" class="java.lang.String">
<fieldDescription><![CDATA[#PHONENO]]></fieldDescription>
</field>
<field name="RATE" class="java.lang.String">
<fieldDescription><![CDATA[#RATE]]></fieldDescription>
</field>
<field name="REFUNDEXISTS" class="java.lang.String">
<fieldDescription><![CDATA[#REFUNDEXISTS]]></fieldDescription>
</field>
<field name="USAGEKB" class="java.lang.String">
<fieldDescription><![CDATA[#USAGEKB]]></fieldDescription>
</field>
<field name="USAGEMB" class="java.lang.String">
<fieldDescription><![CDATA[#USAGEMB]]></fieldDescription>
</field>
<field name="USAGEAMOUNT" class="java.lang.String">
<fieldDescription><![CDATA[#USAGEAMOUNT]]></fieldDescription>
</field>
<field name="LWFORMATPATTERN" class="java.lang.String">
<fieldDescription><![CDATA[/custominfo/singlerecord/#LWFORMATPATTERN]]></fieldDescription>
</field>
<field name="LWMINORUNIT" class="java.lang.String">
<fieldDescription><![CDATA[/custominfo/singlerecord/#LWMINORUNIT]]></fieldDescription>
</field>
<variable name="CDR_COUNT" class="java.lang.Integer" resetType="None" calculation="Count">
<initialValueExpression><![CDATA[1]]></initialValueExpression>
</variable>
<filterExpression><![CDATA[$F{CALLSECTION}.equals("VOICEIDD")]]></filterExpression>
</subDataset>
<subDataset name="LW_IDD_GLOBAL_SMS" uuid="428c32be-39c8-425e-ba21-10f73f94cdbf">
<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA["D:\\Projects\\BE5.0.0\\repository\\Bill Export Format\\"]]></defaultValueExpression>
</parameter>
<parameter name="ID_USERNAME" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
</parameter>
<queryString language="xPath">
<![CDATA[/custominfo/multiplerecord[#type="LW_CALL_DETAIL"]/record]]>
</queryString>
<field name="LWMINORUNIT" class="java.lang.String">
<fieldDescription><![CDATA[/custominfo/singlerecord/#LWMINORUNIT]]></fieldDescription>
</field>
<field name="LWFORMATPATTERN" class="java.lang.String">
<fieldDescription><![CDATA[/custominfo/singlerecord/#LWFORMATPATTERN]]></fieldDescription>
</field>
<field name="CALLDATETIME" class="java.lang.String">
<fieldDescription><![CDATA[#CALLDATETIME]]></fieldDescription>
</field>
<field name="CALLSECTION" class="java.lang.String">
<fieldDescription><![CDATA[#CALLSECTION]]></fieldDescription>
</field>
<field name="CALLTYPE" class="java.lang.String">
<fieldDescription><![CDATA[#CALLTYPE]]></fieldDescription>
</field>
<field name="COUNTRY" class="java.lang.String">
<fieldDescription><![CDATA[#COUNTRY]]></fieldDescription>
</field>
<field name="DURATIONMIN" class="java.lang.String">
<fieldDescription><![CDATA[#DURATIONMIN]]></fieldDescription>
</field>
<field name="DURATIONSEC" class="java.lang.String">
<fieldDescription><![CDATA[#DURATIONSEC]]></fieldDescription>
</field>
<field name="PHONENO" class="java.lang.String">
<fieldDescription><![CDATA[#PHONENO]]></fieldDescription>
</field>
<field name="RATE" class="java.lang.String">
<fieldDescription><![CDATA[#RATE]]></fieldDescription>
</field>
<field name="REFUNDEXISTS" class="java.lang.String">
<fieldDescription><![CDATA[#REFUNDEXISTS]]></fieldDescription>
</field>
<field name="USAGEKB" class="java.lang.String">
<fieldDescription><![CDATA[#USAGEKB]]></fieldDescription>
</field>
<field name="USAGEMB" class="java.lang.String">
<fieldDescription><![CDATA[#USAGEMB]]></fieldDescription>
</field>
<field name="USAGEAMOUNT" class="java.lang.String">
<fieldDescription><![CDATA[#USAGEAMOUNT]]></fieldDescription>
</field>
<variable name="CDR_COUNT" class="java.lang.Integer" resetType="None" calculation="Count">
<initialValueExpression><![CDATA[1]]></initialValueExpression>
</variable>
<filterExpression><![CDATA[$F{CALLSECTION}.equals("SMSIDD")]]></filterExpression>
</subDataset>
<queryString language="xPath">
<![CDATA[/custominfo]]>
</queryString>
<field name="LWFORMATPATTERN" class="java.lang.String">
<fieldDescription><![CDATA[singlerecord/#LWFORMATPATTERN]]></fieldDescription>
</field>
<field name="LWMINORUNIT" class="java.lang.String">
<fieldDescription><![CDATA[singlerecord/#LWMINORUNIT]]></fieldDescription>
</field>
<field name="SMSIDDAMOUNT" class="java.lang.String">
<fieldDescription><![CDATA[singlerecord/#SMSIDDAMOUNT]]></fieldDescription>
</field>
<field name="VOICEIDDAMOUNT" class="java.lang.String">
<fieldDescription><![CDATA[singlerecord/#VOICEIDDAMOUNT]]></fieldDescription>
</field>
<variable name="IDD_AMOUNT_SUM" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[Double.parseDouble($F{VOICEIDDAMOUNT}.replace( " ", "0" )) + Double.parseDouble($F{SMSIDDAMOUNT}.replace( " ", "0" ))]]></variableExpression>
</variable>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band splitType="Stretch"/>
</title>
<pageHeader>
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band/>
</columnHeader>
<detail>
<band height="182" splitType="Stretch">
<frame>
<reportElement mode="Opaque" x="26" y="12" width="515" height="170" isRemoveLineWhenBlank="true" uuid="7cb21acd-38f6-4987-9ae9-a5957b70f88c"/>
<box>
<pen lineWidth="0.25" lineColor="#CCCCCC"/>
<topPen lineWidth="0.25" lineColor="#CCCCCC"/>
<leftPen lineWidth="0.25" lineColor="#CCCCCC"/>
<bottomPen lineWidth="0.25" lineColor="#CCCCCC"/>
<rightPen lineWidth="0.25" lineColor="#CCCCCC"/>
</box>
<frame>
<reportElement mode="Opaque" x="0" y="0" width="515" height="27" isRemoveLineWhenBlank="true" backcolor="#F0F0F0" uuid="7a36219e-de1d-461c-b90b-b0ce10791200"/>
<staticText>
<reportElement mode="Transparent" x="6" y="0" width="116" height="27" forecolor="#000000" backcolor="#FFFFFF" uuid="afa2f370-fd5f-490f-9c62-7ce5ecbe86bd"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Open Sans Extrabold" size="11" isBold="true"/>
</textElement>
<text><![CDATA[Data]]></text>
</staticText>
</frame>
<frame>
<reportElement x="0" y="40" width="515" height="57" isRemoveLineWhenBlank="true" uuid="3b661c38-6d27-441e-b137-c2054790863d">
<printWhenExpression><![CDATA[Double.parseDouble($F{VOICEIDDAMOUNT}.replace( " ", "0" )) > 0]]></printWhenExpression>
</reportElement>
<staticText>
<reportElement mode="Transparent" x="325" y="21" width="60" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="d89d85f3-6c4e-4033-9bdd-0d3eb4da5017"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font fontName="Open Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Phone #]]></text>
</staticText>
<staticText>
<reportElement mode="Transparent" x="7" y="21" width="100" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="b086e195-0b0b-4d64-9545-1deb2ca5f10f"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font fontName="Open Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Date & Time]]></text>
</staticText>
<componentElement>
<reportElement positionType="Float" x="0" y="37" width="515" height="20" isRemoveLineWhenBlank="true" uuid="f19ffb57-efe4-4c20-84f8-2b0de599a0e3"/>
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">
<datasetRun subDataset="LW_IDD_CALL" uuid="247b3030-df73-4c6a-9ca8-3ada738c308f">
<dataSourceExpression><![CDATA[((net.sf.jasperreports.engine.data.JRXmlDataSource)
$P{REPORT_DATA_SOURCE}).dataSource("/custominfo/multiplerecord[#type='LW_CALL_DETAIL']/record")]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="20" width="515">
<textField>
<reportElement x="7" y="0" width="100" height="20" uuid="0f79a5c5-2964-481c-9192-963b630d05c7"/>
<textElement verticalAlignment="Middle">
<font fontName="Open Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{CALLDATETIME}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="402" y="0" width="46" height="20" uuid="92bc22ad-6a29-4e3b-858d-261755960bbb"/>
<textElement verticalAlignment="Middle">
<font fontName="Open Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA["$" + new DecimalFormat($F{LWFORMATPATTERN}).format((Double.parseDouble($F{RATE}.replace( " ", "0" ))/java.lang.Math.pow( 10,new java.lang.Double($F{LWMINORUNIT})))) + "/min"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="465" y="0" width="45" height="20" uuid="4cdad71e-93f6-4692-9bec-3eb427551e5c"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Open Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA["$" + new DecimalFormat($F{LWFORMATPATTERN}).format((Double.parseDouble($F{USAGEAMOUNT}.replace( " ", "0" ))/java.lang.Math.pow( 10,new java.lang.Double($F{LWMINORUNIT}))))]]></textFieldExpression>
</textField>
<textField>
<reportElement x="325" y="0" width="60" height="20" uuid="a4ec29dd-a2ee-47f6-a042-9070b29edaff"/>
<textElement verticalAlignment="Middle">
<font fontName="Open Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{PHONENO}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="170" y="0" width="110" height="20" uuid="1ff085d3-3a74-402b-adf1-254d26dd87eb"/>
<textElement verticalAlignment="Middle">
<font fontName="Open Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{COUNTRY}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="110" y="0" width="50" height="20" uuid="8f7f0b18-8d85-42fe-9078-aac4db6834cb"/>
<textElement verticalAlignment="Middle">
<font fontName="Open Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new DecimalFormat("#,##00").format((Double.parseDouble($F{DURATIONMIN}.replace( " ", "0" )))) + ":" +new DecimalFormat("#,##00").format((Double.parseDouble($F{DURATIONSEC}.replace( " ", "0" ))))]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement mode="Transparent" x="401" y="21" width="46" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="384a4fa0-f294-4f52-9f6e-80ca0570ceff"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font fontName="Open Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Rate]]></text>
</staticText>
<staticText>
<reportElement mode="Transparent" x="110" y="21" width="50" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="d7fc4734-c8e4-4aaf-9ff4-bc1638a6f5a5"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font fontName="Open Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Duration]]></text>
</staticText>
<staticText>
<reportElement mode="Transparent" x="170" y="21" width="110" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="16ff4b2c-8087-4f52-8533-12d8f15263d7"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font fontName="Open Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Country]]></text>
</staticText>
<staticText>
<reportElement mode="Transparent" x="465" y="21" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="a023ec4d-97aa-4a40-8408-673e5d4f726d"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Open Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Amount]]></text>
</staticText>
<staticText>
<reportElement mode="Transparent" x="7" y="0" width="116" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="0e87bb45-f29a-4a50-b9d1-846f1d7ae575"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font fontName="Open Sans" size="9" isBold="true"/>
</textElement>
<text><![CDATA[IDD Calls]]></text>
</staticText>
</frame>
<frame>
<reportElement positionType="Float" x="0" y="100" width="515" height="10" isRemoveLineWhenBlank="true" uuid="0ccd7e2c-e134-4964-8b57-38fdd6ae78d3">
<printWhenExpression><![CDATA[Double.parseDouble($F{VOICEIDDAMOUNT}.replace( " ", "0" )) > 0 && Double.parseDouble($F{SMSIDDAMOUNT}.replace( " ", "0" )) > 0]]></printWhenExpression>
</reportElement>
<line>
<reportElement x="12" y="5" width="491" height="1" uuid="fab0c382-b32d-4809-8078-668a82dd86eb"/>
</line>
</frame>
<frame>
<reportElement positionType="Float" x="0" y="115" width="515" height="55" isRemoveLineWhenBlank="true" uuid="215cc558-db31-40ab-ba16-50b0d7b3b77a">
<printWhenExpression><![CDATA[Double.parseDouble($F{SMSIDDAMOUNT}.replace( " ", "0" )) > 0]]></printWhenExpression>
</reportElement>
<box>
<pen lineWidth="0.0"/>
<topPen lineWidth="0.0"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
<rightPen lineWidth="0.0"/>
</box>
<staticText>
<reportElement mode="Transparent" x="324" y="21" width="60" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="a67a56df-8e16-45e5-88fa-91c9e4a26063"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font fontName="Open Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Phone #]]></text>
</staticText>
<staticText>
<reportElement mode="Transparent" x="7" y="21" width="100" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="ec0e8108-c5e4-45c0-ba77-1b8f3373ac9e"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font fontName="Open Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Date & Time]]></text>
</staticText>
<componentElement>
<reportElement positionType="Float" x="0" y="36" width="515" height="18" isRemoveLineWhenBlank="true" uuid="785a5bd6-9654-4f46-aed3-d6c0d9b8a10c"/>
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">
<datasetRun subDataset="LW_IDD_GLOBAL_SMS" uuid="0ed48425-e6d9-43c5-bc52-d117944c13a6">
<dataSourceExpression><![CDATA[((net.sf.jasperreports.engine.data.JRXmlDataSource)
$P{REPORT_DATA_SOURCE}).dataSource("/custominfo/multiplerecord[#type='LW_CALL_DETAIL']/record")]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="18" width="515">
<textField>
<reportElement x="7" y="0" width="100" height="18" uuid="0744b38a-7fe9-4b59-82d0-28779b2136bb"/>
<textElement verticalAlignment="Middle">
<font fontName="Open Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{CALLDATETIME}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="465" y="0" width="45" height="18" uuid="4352e775-ad18-4207-a28b-01c828971608"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Open Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA["$" + new DecimalFormat($F{LWFORMATPATTERN}).format((Double.parseDouble($F{USAGEAMOUNT}.replace( " ", "0" ))/java.lang.Math.pow( 10,new java.lang.Double($F{LWMINORUNIT}))))]]></textFieldExpression>
</textField>
<textField>
<reportElement x="325" y="0" width="60" height="18" uuid="be557830-7c4c-4125-a14a-a341cf8b1499"/>
<textElement verticalAlignment="Middle">
<font fontName="Open Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{PHONENO}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="170" y="0" width="110" height="18" uuid="06bc7ad5-5d31-4143-9525-12dedb210239"/>
<textElement verticalAlignment="Middle">
<font fontName="Open Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{COUNTRY}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement mode="Transparent" x="465" y="21" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="a758b1c2-29f7-4d18-af29-e262330fff2c"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Open Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Amount]]></text>
</staticText>
<staticText>
<reportElement mode="Transparent" x="170" y="21" width="110" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="367c8854-61db-4320-8712-508366f66bfa"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font fontName="Open Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Country]]></text>
</staticText>
<staticText>
<reportElement mode="Transparent" x="6" y="0" width="116" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="774c12ff-1e22-42d1-adb7-4493b49f10e1"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font fontName="Open Sans" size="9" isBold="true"/>
</textElement>
<text><![CDATA[Global SMS]]></text>
</staticText>
</frame>
</frame>
</band>
<band height="119">
<frame>
<reportElement positionType="Float" mode="Opaque" x="26" y="22" width="515" height="85" isRemoveLineWhenBlank="true" uuid="9b01e260-764e-460d-9741-d2f0ae1216f3"/>
<box>
<pen lineWidth="0.25" lineColor="#CCCCCC"/>
<topPen lineWidth="0.25" lineColor="#CCCCCC"/>
<leftPen lineWidth="0.25" lineColor="#CCCCCC"/>
<bottomPen lineWidth="0.25" lineColor="#CCCCCC"/>
<rightPen lineWidth="0.25" lineColor="#CCCCCC"/>
</box>
<frame>
<reportElement mode="Opaque" x="0" y="0" width="515" height="27" isRemoveLineWhenBlank="true" backcolor="#F0F0F0" uuid="1b389123-b4b6-446b-abd1-67185b88eaf8"/>
<staticText>
<reportElement mode="Transparent" x="6" y="0" width="116" height="27" forecolor="#000000" backcolor="#FFFFFF" uuid="d3813577-f9cd-478b-9604-0416ef46254b"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Open Sans Extrabold" size="11" isBold="true"/>
</textElement>
<text><![CDATA[Charges]]></text>
</staticText>
</frame>
</frame>
</band>
</detail>
<columnFooter>
<band/>
</columnFooter>
<pageFooter>
<band height="46" splitType="Stretch"/>
</pageFooter>
We are using xml data source for this.
<?xml version = '1.0' encoding = 'UTF-8'?><custominfo><singlerecord ACCOUNTNAME="BHADRINATH RAMACHANDRAN" ACCOUNTNUMBER="LW555358" ACCOUNTTYPEID="ACT06" ADDONDATAAMOUNT="600" ADDONDATAQUOTA="1" ADDONSMSAMOUNT="0" ADDONSMSQUOTA="0" ADDONVOICEAMOUNT="0" ADDONVOICEQUOTA="0" ADDRESS="Liberty Wireless #221 Henderson Road, #06-04 Singapore 310231" ADDRESS1="Liberty Wireless #221 Henderson Road, #06-04" ADDRESS2="Liberty Wireless, #221, Henderson Road;06;04;" ADDRESSTYPEID="ADT02" ADJUSTMENT="0" ADJUSTMENTAMOUNT="0" ADJUSTMENT_AMOUNT="0" ADVANCEPAYMENTAMOUNT="0" ADVANCEPERIOD="01-31 May 2017" ADVANCE_PAYAMOUNT="0" ADVANCE_PAYAMOUNT_DATE="" ADV_FROMDATE="01 May 2017" ADV_TODATE="31 May 2017" ALIAS="SGD" AUTOBOOSTAMOUNT="0" AUTOBOOSTDATAUSED="0" AUTOBOOSTQUOTA="0" AUTO_BOOST_DATA="0" AUTO_BOOST_USAGE="0" AUTO_TOPUP_AMOUNT="0" BASEAMOUNT="2800" BASEDATAQUOTA="3" BASEDATAUSED="2.6" BASESMSQUOTA="0" BASEVOICEQUOTA="100" BASE_AMOUNT="2800" BASE_COMPONENT_DATA_VOLUME="8.25" BASE_DATA_VOLUME="3" BASE_SMS_COUNT="0" BASE_USAGE="2.54" BASE_VOICE_MIN="0" BILLAMOUNT="4205" BILLDATE="01 May 2017" BILLINGAREANAME="Default" BILLPERIOD="01-30 Apr 2017" BONUSDATAUSED="4.2" BONUSQUOTA="3.1" BONUS_DATA="4348" BONUS_USAGE="4340" BOOSTAMOUNT="0" BOOSTDATAUSED="0" BOOSTQUOTA="0" BOOST_DATA="0" BOOST_ONLY_AMOUNT="0" BOOST_USAGE="0" CIRCLECREDITAMOUNT="0" CITYNAME="Singapore" COMPONENT_AMOUNT="600" COMPONENT_DATA_AMOUNT="600" COMPONENT_DATA_VOLUME="1" COMPONENT_SMS_AMOUNT="0" COMPONENT_SMS_COUNT="0" COMPONENT_VOICE_AMOUNT="0" COMPONENT_VOICE_MIN="0" COUNTRYNAME="Singapore" CREATEDATE="27 Apr 2017" CURRENCYNAME=" " CURRENTBILLCHARGE="4205" CURR_BASE_DATA_VOLUME="3" CURR_BASE_SMS_COUNT="0" CURR_BASE_VOICE_MIN="100" CURR_BONUS_DATA="3.1" CURR_COMPONENT_DATA_VOLUME="1" CURR_COMPONENT_SMS_COUNT="0" CURR_COMPONENT_VOICE_MIN="0" DATAROAMAMOUNT="0" DATA_ROAMING_AMOUNT="0" DEBITDOCUMENTID="DBD000702898" DEBITDOCUMENTNUMBER="REG0000001377872" DEBITPAYMENTAMOUNT="4525" DEBIT_PAYAMOUNT="4525" DEBIT_PAYAMOUNT_DATE="07 Apr 2017" DEPOSITCHARGE="0" DEPOSITPAID="0" DUEDATE="08 May 2017" EMAILID="bhadrinath#circles.asia" EXADJUSTEDAMOUNT="0" EXDEPOSIT="0" EXDISCOUNT="0" EXDISCOUNTABLE="4205" EXDISCOUNTED="0" EXLATEPAYMENTAMOUNT="0" EXPREVIOUSBALANCEAMOUNT="0" EXPREVIOUSBILLAMOUNT="4525" EXPREVIOUSCREDITAMOUNT="0" EXPREVIOUSDEBITAMOUNT="0" EXPREVIOUSPAYMENTAMOUNT="4525" EXROUNDEDAMOUNT="0" EXROUNDINGAMOUNT="0" EXSUBTOTAL="3971" EXSURCHARGE="0" EXTAX="234" EXTAXABLE="0" EXTOTALAMOUNT="4205" EXTOTALDUE="4205" EXTOTALEARLYPAYMENTAMOUNT="0" EXTOTALLATEPAYMENTAMOUNT="4205" EXTOTALUNROUNDEDBILLAMOUNT="0" FORMATPATTERN="#,##0.00" FROMDATE="01 Apr 2017" GST="234" HOME_IC_AMOUNT="0" HOME_IC_MIN="0" HOME_OG_AMOUNT="759.5" HOME_OG_MIN="6" HOME_USAGE_VOICE_AMOUNT="0" HOME_USAGE_VOICE_MIN="0" IDD_BUDGET_AMOUNT="0" IDD_BUDGET_MIN="0" IDD_BUDGET_SEC="0" IDD_NORMAL_AMOUNT="760" IDD_NORMAL_MIN="5" IDD_NORMAL_SEC="54" IDD_USAGE_SMS_AMOUNT="0" IDD_USAGE_SMS_COUNT="0" IMG=" " INVOICENUMBER="REG0000001377872" LASTBILLDATE="01 Apr 2017" LOCALMMSAMOUNT="0" LOCALMMSCOUNT="0" LOCALSMSAMOUNT="0" LOCALSMSCOUNT="0" LOCALVOICEAMOUNTUSED="0" LOCALVOICEMINUSED="0" LOCAL_USAGE_AMOUNT="0" LOCAL_USAGE_DATA_VOLUME="6.92" LOCAL_USAGE_MMS_AMOUNT="0" LOCAL_USAGE_MMS_COUNT="0" LOCAL_USAGE_SMS_AMOUNT="0" LOCAL_USAGE_SMS_COUNT="0" LWACCOUNTNUMBER="LW555358" LWBILLDATE="01 May 2017" LWFORMATPATTERN="#,##0.00" LWMINORUNIT="2" LWTOTALTAXEXEMPTION="604.55" MAJORNAME="SGD" MAJORSYMBOL="$" MINORUNIT="2" MOBILENO="87423009" NAME="BHADRINATH RAMACHANDRAN" NONRECCHARGE="0" OC_AMOUNT="0" ONETIMEAMOUNT="0" PLUSAMOUNT="200" PLUS_AMOUNT="200" PREVIOUSBILLAMOUNT="4525" PRE_BASE_AMOUNT="0" PRE_BASE_DATA="3" PRE_BASE_SMS="0" PRE_BASE_VOICE="0" PRE_COMPONENT_DATA="1" PRE_COMPONENT_DATA_AMOUNT="0" PRE_COMPONENT_SMS="0" PRE_COMPONENT_SMS_AMOUNT="0" PRE_COMPONENT_VOICE="0" PRE_COMPONENT_VOICE_AMOUNT="0" PROADDONDATAAMOUNT="0" PROADDONDATAQUOTA="1" PROADDONSMSAMOUNT="0" PROADDONSMSQUOTA="0" PROADDONVOICEAMOUNT="0" PROADDONVOICEQUOTA="0" PROBASEAMOUNT="0" PROBASEDATAQUOTA="3" PROBASESMSQUOTA="0" PROBASEVOICEQUOTA="0" PROBONUSQUOTA="4.2" PRS_AMOUNT="0" RECCHARGE="3365" RECFIXRECCHARGE="0" ROAMING_USAGE_AMOUNT="0" SMSIDDAMOUNT="0" SMSROAMAMOUNT="0" SMS_ROAMING_AMOUNT="0" SMS_ROAMING_COUNT="0" SPECIAL_USAGE_AMOUNT="759.5" STATENAME="Singapore" TODATE="30 Apr 2017" TOTALCREDIT="0" TOTALDEBIT="0" TOTALTAXEXEMPTION="604.55" TXT="Please login to www.example.com to pay your bill." UNLIMITEDICCALLSAMOUNT="0" USAGECHARGE="606" USERNAME="BHADRINATH RAMACHANDRAN" VOICEIDDAMOUNT="759.5" VOICEROAMAMOUNT="0" VOICE_ROAMING_AMOUNT="0" ZIP="310231"/><multiplerecord type="LW_CALL_DETAIL">
<record CALLDATETIME="10 Apr 2017 - 22:44" CALLSECTION="VOICEIDD" CALLTYPE="Outgoing" COUNTRY="India" DURATIONMIN="1" DURATIONSEC="0" PHONENO="919444281907" RATE="150" REFUNDEXISTS="N" USAGEAMOUNT="150" USAGEKB="0" USAGEMB="0"/>
<record CALLDATETIME="19 Apr 2017 - 06:37" CALLSECTION="VOICEIDD" CALLTYPE="Outgoing" COUNTRY="Philippines" DURATIONMIN="1" DURATIONSEC="0" PHONENO="639175620965" RATE="90" REFUNDEXISTS="N" USAGEAMOUNT="90" USAGEKB="0" USAGEMB="0"/>
<record CALLDATETIME="24 Apr 2017 - 16:31" CALLSECTION="VOICEIDD" CALLTYPE="Outgoing" COUNTRY="HongKong" DURATIONMIN="1" DURATIONSEC="0" PHONENO="85239704983" RATE="70.0000000000000000000000000000000000002" REFUNDEXISTS="N" USAGEAMOUNT="70" USAGEKB="0" USAGEMB="0"/>
<record CALLDATETIME="25 Apr 2017 - 18:16" CALLSECTION="VOICEIDD" CALLTYPE="Outgoing" COUNTRY="India" DURATIONMIN="1" DURATIONSEC="54" PHONENO="918861871977" RATE="155" REFUNDEXISTS="N" USAGEAMOUNT="294.5" USAGEKB="0" USAGEMB="0"/>
<record CALLDATETIME="28 Apr 2017 - 09:37" CALLSECTION="VOICEIDD" CALLTYPE="Outgoing" COUNTRY="India" DURATIONMIN="1" DURATIONSEC="0" PHONENO="919444281907" RATE="155" REFUNDEXISTS="N" USAGEAMOUNT="155" USAGEKB="0" USAGEMB="0"/></multiplerecord></custominfo>
Sample data source
Jasper version 5.6 has some bug which doesn't allow band height decrease automatically but after updating to 6.3.1 issue seems fixed and band height changes dynamically.

wix toolset: Success page showing multiple headers

I'm using the HyperlinkTheme.xml from the WiX 3 github site, with WiX v3.9 R2 to create my installer. When I run my installer, it succeeds, but on the success page it shows all 4 headers overlaying each other (SuccessHeader, SuccessInstallHeader, SuccessRepairHeader, SuccessUninstallHeader). I changed the Y values so they wouldn't display on top of each other:
How do I get it to only show only the pertinent header?
Here is my slightly altered version of HyperlinkTheme.xml:
<?xml version="1.0" encoding="utf-8"?>
<Theme xmlns="http://wixtoolset.org/schemas/thmutil/2010">
<Window Width="485" Height="300" HexStyle="100a0000" FontId="0">#(loc.Caption)</Window>
<Font Id="0" Height="-12" Weight="500" Foreground="000000" Background="FFFFFF">Segoe UI</Font>
<Font Id="1" Height="-24" Weight="500" Foreground="000000">Segoe UI</Font>
<Font Id="2" Height="-22" Weight="500" Foreground="666666">Segoe UI</Font>
<Font Id="3" Height="-12" Weight="500" Foreground="000000" Background="FFFFFF">Segoe UI</Font>
<Font Id="4" Height="-12" Weight="500" Foreground="ff0000" Background="FFFFFF" Underline="yes">Segoe UI</Font>
<Image X="11" Y="11" Width="64" Height="64" ImageFile="logo.png" Visible="yes"/>
<Text X="80" Y="11" Width="-11" Height="64" FontId="1" Visible="yes" DisablePrefix="yes">#(loc.Title) #(loc.InstallVersion)</Text>
<Page Name="Help">
<Text X="11" Y="80" Width="-11" Height="30" FontId="2" DisablePrefix="yes">#(loc.HelpHeader)</Text>
<Text X="11" Y="112" Width="-11" Height="-35" FontId="3" DisablePrefix="yes">#(loc.HelpText)</Text>
<Button Name="HelpCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.HelpCloseButton)</Button>
</Page>
<Page Name="Install">
<Hypertext Name="EulaHyperlink" X="11" Y="121" Width="-11" Height="51" TabStop="yes" FontId="3" HideWhenDisabled="yes">#(loc.InstallLicenseLinkText)</Hypertext>
<Checkbox Name="EulaAcceptCheckbox" X="-11" Y="-41" Width="260" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">#(loc.InstallAcceptCheckbox)</Checkbox>
<Button Name="OptionsButton" X="-171" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.InstallOptionsButton)</Button>
<Button Name="InstallButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.InstallInstallButton)</Button>
<Button Name="WelcomeCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.InstallCloseButton)</Button>
</Page>
<Page Name="Options">
<Text X="11" Y="80" Width="-11" Height="30" FontId="2" DisablePrefix="yes">#(loc.OptionsHeader)</Text>
<Text X="11" Y="121" Width="-11" Height="17" FontId="3" DisablePrefix="yes">#(loc.OptionsLocationLabel)</Text>
<Editbox Name="FolderEditbox" X="11" Y="143" Width="-91" Height="21" TabStop="yes" FontId="3" FileSystemAutoComplete="yes" />
<Button Name="BrowseButton" X="-11" Y="142" Width="75" Height="23" TabStop="yes" FontId="3">#(loc.OptionsBrowseButton)</Button>
<Button Name="OptionsOkButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.OptionsOkButton)</Button>
<Button Name="OptionsCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.OptionsCancelButton)</Button>
</Page>
<Page Name="Progress">
<Text X="11" Y="80" Width="-11" Height="30" FontId="2" DisablePrefix="yes">#(loc.ProgressHeader)</Text>
<Text X="11" Y="121" Width="70" Height="17" FontId="3" DisablePrefix="yes">#(loc.ProgressLabel)</Text>
<Text Name="OverallProgressPackageText" X="85" Y="121" Width="-11" Height="17" FontId="3" DisablePrefix="yes">#(loc.OverallProgressPackageText)</Text>
<Progressbar Name="OverallCalculatedProgressbar" X="11" Y="143" Width="-11" Height="15" />
<Button Name="ProgressCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.ProgressCancelButton)</Button>
</Page>
<Page Name="Modify">
<Text X="11" Y="80" Width="-11" Height="30" FontId="2" DisablePrefix="yes">#(loc.ModifyHeader)</Text>
<Button Name="RepairButton" X="-171" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.ModifyRepairButton)</Button>
<Button Name="UninstallButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.ModifyUninstallButton)</Button>
<Button Name="ModifyCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.ModifyCloseButton)</Button>
</Page>
<Page Name="Success">
<Text Name="SuccessHeader" X="11" Y="80" Width="-11" Height="30" FontId="2" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.SuccessHeader)</Text>
<Text Name="SuccessInstallHeader" X="11" Y="100" Width="-11" Height="30" FontId="2" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.SuccessInstallHeader)</Text>
<Text Name="SuccessRepairHeader" X="11" Y="120" Width="-11" Height="30" FontId="2" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.SuccessRepairHeader)</Text>
<Text Name="SuccessUninstallHeader" X="11" Y="140" Width="-11" Height="30" FontId="2" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.SuccessUninstallHeader)</Text>
<Button Name="LaunchButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.SuccessLaunchButton)</Button>
<Text Name="SuccessRestartText" X="-11" Y="-51" Width="400" Height="34" FontId="3" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.SuccessRestartText)</Text>
<Button Name="SuccessRestartButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.SuccessRestartButton)</Button>
<Button Name="SuccessCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.SuccessCloseButton)</Button>
</Page>
<Page Name="Failure">
<Text Name="FailureHeader" X="11" Y="80" Width="-11" Height="30" FontId="2" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.FailureHeader)</Text>
<Text Name="FailureInstallHeader" X="11" Y="80" Width="-11" Height="30" FontId="2" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.FailureInstallHeader)</Text>
<Text Name="FailureUninstallHeader" X="11" Y="80" Width="-11" Height="30" FontId="2" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.FailureUninstallHeader)</Text>
<Text Name="FailureRepairHeader" X="11" Y="80" Width="-11" Height="30" FontId="2" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.FailureRepairHeader)</Text>
<Hypertext Name="FailureLogFileLink" X="11" Y="121" Width="-11" Height="42" FontId="3" TabStop="yes" HideWhenDisabled="yes">#(loc.FailureHyperlinkLogText)</Hypertext>
<Hypertext Name="FailureMessageText" X="22" Y="163" Width="-11" Height="51" FontId="3" TabStop="yes" HideWhenDisabled="yes" />
<Text Name="FailureRestartText" X="-11" Y="-51" Width="400" Height="34" FontId="3" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.FailureRestartText)</Text>
<Button Name="FailureRestartButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.FailureRestartButton)</Button>
<Button Name="FailureCloseButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.FailureCloseButton)</Button>
</Page>
</Theme>
Here is my bundle.wxs:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
<Bundle Name="Map Creator" Version="$(var.ProductVersion)" Manufacturer="FMOsoft" UpgradeCode="GUID" Copyright="Copyright© 2015, FMOsoft">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
<bal:WixStandardBootstrapperApplication
LocalizationFile="$(var.KarteDir)\install\win\L10n\installer\thm_en_us.wxl"
ThemeFile="$(var.KarteDir)\install\win\HyperlinkTheme_fmosoft.xml"
LogoFile="$(var.KarteDir)\assets\logo\bmp\logo_64.bmp"
LogoSideFile="$(var.KarteDir)\assets\logo\png\icon_128.png"
ShowVersion="yes"
LicenseFile="$(var.KarteDir)\install\license_en.html"
LaunchTarget="[ProgramFiles6432Folder]\FMOsoft\MapCreator\MapCreator.exe"
/>
<Payload Id="theme_en_us" Compressed="yes" Name="1033\thm.wxl" SourceFile="$(var.KarteDir)\install\win\L10n\installer\thm_en_us.wxl"/>
<Payload Id="license_en_us" Compressed="yes" Name="1033\license.html" SourceFile="$(var.KarteDir)\install\license_en.html"/>
<Payload Id="theme_es_es" Compressed="yes" Name="1034\thm.wxl" SourceFile="$(var.KarteDir)\install\win\L10n\installer\thm_es_es.wxl"/>
<Payload Id="license_es_es" Compressed="yes" Name="1034\license.html" SourceFile="$(var.KarteDir)\install\license_es.html"/>
<Payload Id="theme_fr_fr" Compressed="yes" Name="1036\thm.wxl" SourceFile="$(var.KarteDir)\install\win\L10n\installer\thm_fr_fr.wxl"/>
<Payload Id="license_fr_fr" Compressed="yes" Name="1036\license.html" SourceFile="$(var.KarteDir)\install\license_fr.html"/>
<Payload Id="theme_pt_br" Compressed="yes" Name="1046\thm.wxl" SourceFile="$(var.KarteDir)\install\win\L10n\installer\thm_pt_br.wxl"/>
<Payload Id="license_pt_br" Compressed="yes" Name="1046\license.html" SourceFile="$(var.KarteDir)\install\license_pt.html"/>
<Payload Id="theme_id" Compressed="yes" Name="1057\thm.wxl" SourceFile="$(var.KarteDir)\install\win\L10n\installer\thm_id.wxl"/>
<Payload Id="license_id" Compressed="yes" Name="1057\license.html" SourceFile="$(var.KarteDir)\install\license_id.html"/>
</BootstrapperApplicationRef>
<WixVariable Id="WixStdbaLicenseUrl" Value="license.html" />
<Chain>
<ExePackage SourceFile="vcredist_x64.exe" PerMachine="yes" Permanent="yes" Vital="yes" Compressed="yes" InstallCommand="/quiet /norestart" InstallCondition="VersionNT64"/>
<ExePackage SourceFile="vcredist_x86.exe" PerMachine="yes" Permanent="yes" Vital="yes" Compressed="yes" InstallCommand="/quiet /norestart" InstallCondition="NOT VersionNT64"/>
<MsiPackage Vital="yes" SourceFile="$(var.BuildDir)out\map-creator-$(var.Platform).msi"/>
</Chain>
</Bundle>
</Wix>
Here's how I build the installer:
"%WIXDIR%\candle.exe" bundle.wxs -dKarteDir="%KARTEDIR%" -dProductVersion=%PRODUCTVERSION% -dPlatform=%PLATFORM% -dBuildDir=%BUILDDIR% -out "obj\\" -ext WixBalExtension
"%WIXDIR%\light.exe" "obj\bundle.wixobj" -out "%BUILDDIR%\out\mc.exe" -ext WixBalExtension
The theme from GitHub is from the develop branch and has changes from WiX v3.10 that the WixStdBA from v3.9 R2 doesn't know about. You can grab the v3.9 version from wix39-debug.zip on the v3.9 R2 release page.

Wix Bootstrapper custom Failure Page Message dependent on error code

Having the following WIX Bootstrapper theme:
<?xml version="1.0" encoding="utf-8"?>
<Theme xmlns="http://wixtoolset.org/schemas/thmutil/2010">
<Window Width="485" Height="300" HexStyle="100a0000" FontId="0">#(loc.Caption)</Window>
<Font Id="0" Height="-12" Weight="500" Foreground="000000" Background="FFFFFF">Segoe UI</Font>
<Font Id="1" Height="-24" Weight="500" Foreground="000000">Segoe UI</Font>
<Font Id="2" Height="-22" Weight="500" Foreground="666666">Segoe UI</Font>
<Font Id="3" Height="-12" Weight="500" Foreground="000000" Background="FFFFFF">Segoe UI</Font>
<Font Id="4" Height="-12" Weight="500" Foreground="ff0000" Background="FFFFFF" Underline="yes">Segoe UI</Font>
<Image X="11" Y="11" Width="64" Height="64" ImageFile="logo.png" Visible="yes"/>
<Text X="80" Y="11" Width="-11" Height="64" FontId="1" Visible="yes">#(loc.Title)</Text>
<Page Name="Install">
<Richedit Name="EulaRichedit" X="11" Y="80" Width="-11" Height="-70" TabStop="yes" FontId="0" HexStyle="0x800000" />
<Checkbox Name="EulaAcceptCheckbox" X="-11" Y="-41" Width="246" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">#(loc.InstallAcceptCheckbox)</Checkbox>
<Button Name="OptionsButton" X="-171" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.InstallOptionsButton)</Button>
<Button Name="InstallButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.InstallInstallButton)</Button>
<Button Name="WelcomeCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.InstallCloseButton)</Button>
</Page>
<Page Name="Options">
<Text X="11" Y="80" Width="-11" Height="30" FontId="2">#(loc.OptionsHeader)</Text>
<Text X="11" Y="121" Width="-11" Height="17" FontId="3">#(loc.OptionsLocationLabel)</Text>
<Editbox Name="FolderEditbox" X="11" Y="143" Width="-91" Height="21" TabStop="yes" FontId="3" FileSystemAutoComplete="yes" />
<Button Name="BrowseButton" X="-11" Y="142" Width="75" Height="23" TabStop="yes" FontId="3">#(loc.OptionsBrowseButton)</Button>
<Button Name="OptionsOkButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.OptionsOkButton)</Button>
<Button Name="OptionsCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.OptionsCancelButton)</Button>
</Page>
<Page Name="Progress">
<Text X="11" Y="80" Width="-11" Height="30" FontId="2">#(loc.ProgressHeader)</Text>
<Text X="11" Y="121" Width="70" Height="17" FontId="3">#(loc.ProgressLabel)</Text>
<Text Name="OverallProgressPackageText" X="85" Y="121" Width="-11" Height="17" FontId="3">#(loc.OverallProgressPackageText)</Text>
<Progressbar Name="OverallCalculatedProgressbar" X="11" Y="143" Width="-11" Height="15" />
<Button Name="ProgressCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.ProgressCancelButton)</Button>
</Page>
<Page Name="Modify">
<Text X="11" Y="80" Width="-11" Height="30" FontId="2">#(loc.ModifyHeader)</Text>
<Button Name="RepairButton" X="-171" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.ModifyRepairButton)</Button>
<Button Name="UninstallButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.ModifyUninstallButton)</Button>
<Button Name="ModifyCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.ModifyCloseButton)</Button>
</Page>
<Page Name="Success">
<Text X="11" Y="80" Width="-11" Height="30" FontId="2">#(loc.SuccessHeader)</Text>
<Button Name="LaunchButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.SuccessLaunchButton)</Button>
<Text Name="SuccessRestartText" X="-11" Y="-51" Width="400" Height="34" FontId="3" HideWhenDisabled="yes">#(loc.SuccessRestartText)</Text>
<Button Name="SuccessRestartButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.SuccessRestartButton)</Button>
<Button Name="SuccessCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.SuccessCloseButton)</Button>
</Page>
<Page Name="Failure">
<Text X="11" Y="80" Width="-11" Height="30" FontId="2">#(loc.FailureHeader)</Text>
<Hypertext Name="FailureLogFileLink" X="11" Y="121" Width="-11" Height="42" FontId="3" TabStop="yes" HideWhenDisabled="yes">#(loc.FailureHyperlinkLogText)</Hypertext>
<Hypertext Name="FailureMessageText" X="22" Y="163" Width="-11" Height="51" FontId="3" TabStop="yes" HideWhenDisabled="yes" />
<Text Name="FailureRestartText" X="-11" Y="-51" Width="400" Height="34" FontId="3" HideWhenDisabled="yes">#(loc.FailureRestartText)</Text>
<Button Name="FailureRestartButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.FailureRestartButton)</Button>
<Button Name="FailureCloseButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.FailureCloseButton)</Button>
</Page>
</Theme>
What do I need to do to have a custom error message when user clicks cancel?
I basically need a condition to evaluate the case where FailureMessageText is "0x80070642 - User cancelled installation"
The failure window should then display "Installation Cancelled by User" instead of "Setup Failed"
Is there any way to evaluate above expression inside the theme and display controls based on a certain condition ?
*EDIT - 30 jan 2014 *
Here is the problem element:
<Page Name="Failure">
...
<Hypertext Name="FailureMessageText" X="22" Y="163" Width="-11" Height="51" FontId="3" TabStop="yes" HideWhenDisabled="yes" />
...
</Page>
I could write:
<Page Name="Failure">
...
<Text Name="MyCustomText" X="-11" Y="-51" Width="400" Height="34" FontId="3" HideWhenDisabled="yes"> My custom message </Text>
...
</Page>
but this will not check if error code is 0x80070642 (user cancelled installation), it is just another hard-coded message.
To display the custom error messages you need to change the messages in WixBootstrapperTheme.wxl file which is pointed by LocalizationFile attribute.
<Bundle ...>
.................
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
<bal:WixStandardBootstrapperApplication
LicenseUrl=""
LogoFile="Logo.png"
SuppressOptionsUI="yes"
LocalizationFile="BootstrapTheme.wxl"
ThemeFile="BootstrapTheme.xml"/>
</BootstrapperApplicationRef>
................
</Bundle>

Background on sub-report does not display

I'm using iReport 4.5.1 (unfortunately using a later version is not an option) and have a report that has multiple sub-reports associated. In the Background band of the main report, I have placed text to be used as a watermark - this displays fine on each report page. In one sub-report I want to display an additional watermark, so have added an additional text field element in the background band of this report.
When I run the report as a whole, the watermark text for the sub-report does not display, yet when I run the sub-report separately, its watermark text displays fine. Any ideas why this might be happening?
You can check this sample.
The master report design (in iReport):
I've placed 4 staticText on Background band.
The jrxml file for master report is:
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="mainrep_watermark" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="ffeb1237-be4e-4cca-8a63-223aa5d8f3e6">
<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA["/somepath"]]></defaultValueExpression>
</parameter>
<queryString>
<![CDATA[SELECT * FROM product ORDER BY id]]>
</queryString>
<field name="ID" class="java.lang.Integer"/>
<field name="NAME" class="java.lang.String"/>
<field name="COST" class="java.math.BigDecimal"/>
<group name="idgroup">
<groupExpression><![CDATA[$F{ID}]]></groupExpression>
<groupFooter>
<band height="28">
<subreport>
<reportElement uuid="710fe82b-fd08-4db3-bba1-929870f83fa4" x="100" y="0" width="200" height="27"/>
<subreportParameter name="productId">
<subreportParameterExpression><![CDATA[$F{ID}]]></subreportParameterExpression>
</subreportParameter>
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
<subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "subreport_watermark.jasper"]]></subreportExpression>
</subreport>
</band>
</groupFooter>
</group>
<background>
<band height="802" splitType="Stretch">
<staticText>
<reportElement uuid="0e7c3a54-8876-4523-9bad-2b582b1defb9" x="51" y="15" width="468" height="148" forecolor="#0033FF"/>
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
<font size="48"/>
</textElement>
<text><![CDATA[Master watermark 1]]></text>
</staticText>
<staticText>
<reportElement uuid="584b9b65-c040-43a0-96ce-6fa14e9db597" x="51" y="174" width="468" height="148" forecolor="#0033FF"/>
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
<font size="48"/>
</textElement>
<text><![CDATA[Master watermark 2]]></text>
</staticText>
<staticText>
<reportElement uuid="4f4f55b5-cbd4-4b10-bcf4-1e81d16bb537" x="51" y="344" width="468" height="148" forecolor="#0033FF"/>
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
<font size="48"/>
</textElement>
<text><![CDATA[Master watermark 3]]></text>
</staticText>
<staticText>
<reportElement uuid="10b1534f-d880-4ca3-9a2f-847d68826011" x="51" y="524" width="468" height="148" forecolor="#0033FF"/>
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
<font size="48"/>
</textElement>
<text><![CDATA[Master watermark 4]]></text>
</staticText>
</band>
</background>
<columnHeader>
<band height="20" splitType="Stretch">
<staticText>
<reportElement uuid="d337add8-2a0d-4a9e-ad3c-3dfb322b715a" mode="Opaque" x="0" y="0" width="100" height="20" backcolor="#CCCCCC"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true" isItalic="true"/>
</textElement>
<text><![CDATA[Id]]></text>
</staticText>
<staticText>
<reportElement uuid="97ff3089-7082-4f30-850e-e59836ff48a2" mode="Opaque" x="100" y="0" width="100" height="20" backcolor="#CCCCCC"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true" isItalic="true"/>
</textElement>
<text><![CDATA[Name]]></text>
</staticText>
<staticText>
<reportElement uuid="ec4bc628-f6bb-40be-9e46-fd49327071f2" mode="Opaque" x="200" y="0" width="100" height="20" backcolor="#CCCCCC"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true" isItalic="true"/>
</textElement>
<text><![CDATA[Cost]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="20" splitType="Stretch">
<textField>
<reportElement uuid="2b43cdac-3453-499e-a6e0-b33eef8bf3f9" x="0" y="0" width="100" height="20"/>
<box leftPadding="10">
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement/>
<textFieldExpression><![CDATA[$F{ID}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="75ba99d4-646e-470c-b68b-fa111b702ac7" x="100" y="0" width="100" height="20"/>
<box leftPadding="10">
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement/>
<textFieldExpression><![CDATA[$F{NAME}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="451db60d-5255-41fe-b5fe-8e523118fab3" x="200" y="0" width="100" height="20"/>
<box leftPadding="10">
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement/>
<textFieldExpression><![CDATA[$F{COST}]]></textFieldExpression>
</textField>
</band>
</detail>
</jasperReport>
And the subreport's design is (in iReport):
I've placed one staticText on Background band and rotate the text on 90 degrees.
The jrxml file of subreport is:
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="subreport_watermark" language="groovy" pageWidth="555" pageHeight="802" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="cf5d8eca-6c3a-4e1f-a6c9-107436e0ac48">
<parameter name="productId" class="java.lang.String"/>
<queryString language="SQL">
<![CDATA[SELECT TOP 10 QUANTITY, PRICE FROM positions WHERE productid=$P{productId}]]>
</queryString>
<field name="QUANTITY" class="java.lang.Integer"/>
<field name="PRICE" class="java.math.BigDecimal"/>
<background>
<band height="95" splitType="Stretch">
<staticText>
<reportElement uuid="f09a53bb-3b62-4e97-8e6b-2c592f469c3d" positionType="Float" stretchType="RelativeToBandHeight" x="78" y="0" width="100" height="95" forecolor="#FF3333"/>
<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
<font size="20"/>
</textElement>
<text><![CDATA[Subreport watermark]]></text>
</staticText>
</band>
</background>
<detail>
<band height="15" splitType="Stretch">
<textField>
<reportElement uuid="135d5748-db78-4272-a1c8-a94f5ce5549e" x="43" y="0" width="60" height="15"/>
<box leftPadding="10">
<topPen lineWidth="0.25" lineStyle="Dashed" lineColor="#3300FF"/>
<leftPen lineWidth="0.25" lineStyle="Dashed" lineColor="#3300FF"/>
<bottomPen lineWidth="0.25" lineStyle="Dashed" lineColor="#3300FF"/>
<rightPen lineWidth="0.25" lineStyle="Dashed" lineColor="#3300FF"/>
</box>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA["Quantity: " + $F{QUANTITY}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="8736b7b8-b7cd-4fd5-8494-9519cb55317c" x="103" y="0" width="60" height="15"/>
<box leftPadding="10">
<topPen lineWidth="0.25" lineStyle="Dashed" lineColor="#3300FF"/>
<leftPen lineWidth="0.25" lineStyle="Dashed" lineColor="#3300FF"/>
<bottomPen lineWidth="0.25" lineStyle="Dashed" lineColor="#3300FF"/>
<rightPen lineWidth="0.25" lineStyle="Dashed" lineColor="#3300FF"/>
</box>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA["Price: " + $F{PRICE}]]></textFieldExpression>
</textField>
</band>
</detail>
</jasperReport>
The result will be (generated pdf in Adobe Reader):
Thanks Alex K. I found that my issue was actually due to having a page header defined on my main report. For some reason that seems to override the background band on sub-reports displaying. I have no idea why and would be very interested to know if anyone is aware of the reason. I was able to work around my issue by removing the page header from the main report. (user2756852/Deb)

Summing column values-variable not found error in ireport

I am summing all values(vertical) in single column using variable, which I declared as below in code, but when I am running code, it gives error:
. variable not found.
I am printing this table in summary band, because when I am declaring it in details band, many pages are repeating with repeated tables.
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="intra_fho" language="groovy" pageWidth="648" pageHeight="792" columnWidth="608" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="9a93052d-913c-448c-a2bd-956da96ec037">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<style name="table">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 1">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table 1_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 1_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 1_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
<conditionalStyle>
<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>
<style backcolor="#EFF7FF"/>
</conditionalStyle>
</style>
<style name="table 2">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table 2_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 2_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 2_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
<conditionalStyle>
<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>
<style backcolor="#EFF7FF"/>
</conditionalStyle>
</style>
<style name="table 3">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table 3_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 3_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 3_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
<conditionalStyle>
<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>
<style backcolor="#EFF7FF"/>
</conditionalStyle>
</style>
<style name="table 4">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table 4_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 4_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 4_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
<conditionalStyle>
<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>
<style backcolor="#EFF7FF"/>
</conditionalStyle>
</style>
<style name="table 5">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table 5_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 5_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 5_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
<conditionalStyle>
<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>
<style backcolor="#EFF7FF"/>
</conditionalStyle>
</style>
<subDataset name="New Dataset 1" uuid="585047d6-61a7-4b62-9dae-49e3ad3b2855">
<queryString>
<![CDATA[SELECT
intra_fho_final.`FirstName` AS intra_fho_final_FirstName,
intra_fho_final.`DoctorID` AS intra_fho_final_DoctorID,
intra_fho_final.`for_doctor` AS intra_fho_final_for_doctor,
intra_fho_final.`by_doctor` AS intra_fho_final_by_doctor,
intra_fho_final.`Net_Services_by_Physicians` AS intra_fho_final_Net_Services_by_Physicians,
intra_fho_final.`Value_of_Net_Services` AS intra_fho_final_Value_of_Net_Services
FROM
`intra_fho_final` intra_fho_final]]>
</queryString>
<field name="intra_fho_final_FirstName" class="java.lang.String"/>
<field name="intra_fho_final_DoctorID" class="java.lang.Integer"/>
<field name="intra_fho_final_for_doctor" class="java.math.BigDecimal"/>
<field name="intra_fho_final_by_doctor" class="java.math.BigDecimal"/>
<field name="intra_fho_final_Net_Services_by_Physicians" class="java.math.BigDecimal"/>
<field name="intra_fho_final_Value_of_Net_Services" class="java.math.BigDecimal"/>
</subDataset>
<queryString language="SQL">
<![CDATA[SELECT
intra_fho_final.`FirstName` AS intra_fho_final_FirstName,
intra_fho_final.`DoctorID` AS intra_fho_final_DoctorID,
intra_fho_final.`for_doctor` AS intra_fho_final_for_doctor,
intra_fho_final.`by_doctor` AS intra_fho_final_by_doctor,
intra_fho_final.`Net_Services_by_Physicians` AS intra_fho_final_Net_Services_by_Physicians,
intra_fho_final.`Value_of_Net_Services` AS intra_fho_final_Value_of_Net_Services
FROM
`intra_fho_final` intra_fho_final]]>
</queryString>
<field name="intra_fho_final_FirstName" class="java.lang.String"/>
<field name="intra_fho_final_DoctorID" class="java.lang.Integer"/>
<field name="intra_fho_final_for_doctor" class="java.math.BigDecimal"/>
<field name="intra_fho_final_by_doctor" class="java.math.BigDecimal"/>
<field name="intra_fho_final_Net_Services_by_Physicians" class="java.math.BigDecimal"/>
<field name="intra_fho_final_Value_of_Net_Services" class="java.math.BigDecimal"/>
<variable name="for_doctor" class="java.math.BigDecimal" incrementType="Column" calculation="Sum">
<variableExpression><![CDATA[$F{intra_fho_final_for_doctor}]]></variableExpression>
</variable>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="49" splitType="Stretch">
<staticText>
<reportElement uuid="8a5981f1-7059-4834-ab1b-c0b1e23cba44" x="201" y="10" width="206" height="28"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Times New Roman" size="24"/>
</textElement>
<text><![CDATA[Intra-FHO Report]]></text>
</staticText>
</band>
</title>
<summary>
<band height="57" splitType="Stretch">
<componentElement>
<reportElement uuid="30b3af0e-8160-460f-b1c9-e3d5bce80cbe" key="table 5" style="table 5" stretchType="RelativeToBandHeight" x="56" y="6" width="496" height="44" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"/>
<jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">
<datasetRun subDataset="New Dataset 1" uuid="79799bc4-801b-440c-a09b-bc24c0542297">
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
</datasetRun>
<jr:column uuid="47b87b0f-9b0a-405a-8bec-ff898a66036f" width="90">
<jr:columnHeader style="table 5_CH" height="30" rowSpan="1">
<staticText>
<reportElement uuid="f7a46f3d-2297-487b-88e6-9150a1b1eca2" x="0" y="0" width="90" height="30"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[First Name]]></text>
</staticText>
</jr:columnHeader>
<jr:columnFooter height="30" rowSpan="1">
<box>
<pen lineWidth="0.5"/>
<topPen lineWidth="0.5"/>
<leftPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
<rightPen lineWidth="0.5"/>
</box>
<staticText>
<reportElement uuid="0a44ed1e-7ada-4e53-a0f1-f8e80215b921" x="0" y="0" width="90" height="30" backcolor="#19FFFF"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Total]]></text>
</staticText>
</jr:columnFooter>
<jr:detailCell style="table 5_TD" height="20" rowSpan="1">
<textField>
<reportElement uuid="6ee7fb55-7327-4386-ac9a-b9f134f87cac" x="0" y="0" width="90" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{intra_fho_final_FirstName}]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
<jr:column uuid="dbfb1b17-68ce-4a59-869e-0d1a0783c53c" width="90">
<jr:columnHeader style="table 5_CH" height="30" rowSpan="1">
<staticText>
<reportElement uuid="a497ced3-2a53-4cb7-a1bb-01761cff09e9" x="0" y="0" width="90" height="30"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[DoctorID]]></text>
</staticText>
</jr:columnHeader>
<jr:columnFooter height="30" rowSpan="1">
<box>
<pen lineWidth="0.5"/>
<topPen lineWidth="0.5"/>
<leftPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
<rightPen lineWidth="0.5"/>
</box>
</jr:columnFooter>
<jr:detailCell style="table 5_TD" height="20" rowSpan="1">
<textField>
<reportElement uuid="7ab80c20-bf8c-41ce-9758-0c23c3c31614" x="0" y="0" width="90" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{intra_fho_final_DoctorID}]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
<jr:column uuid="19ca94c6-4b15-43e0-9deb-7d0e4877c74e" width="90">
<jr:columnHeader style="table 5_CH" height="30" rowSpan="1">
<staticText>
<reportElement uuid="0a9d6455-c731-4e97-8504-60573fbefb38" x="0" y="0" width="90" height="30"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Services for doctor]]></text>
</staticText>
</jr:columnHeader>
<jr:columnFooter height="30" rowSpan="1">
<box>
<pen lineWidth="0.5"/>
<topPen lineWidth="0.5"/>
<leftPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
<rightPen lineWidth="0.5"/>
</box>
<textField>
<reportElement uuid="fc9cbc6f-8e58-458b-917b-9ddfd901e7b0" x="0" y="0" width="90" height="30"/>
<textElement/>
<textFieldExpression><![CDATA[$V{for_doctor}]]></textFieldExpression>
</textField>
</jr:columnFooter>
<jr:detailCell style="table 5_TD" height="20" rowSpan="1">
<textField>
<reportElement uuid="86d7773c-0639-46a4-bd36-1b1ae44ca117" x="0" y="0" width="90" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{intra_fho_final_for_doctor}]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
<jr:column uuid="1bba8b0e-1dbb-42fe-99c8-c06ccaeaffd1" width="90">
<jr:columnHeader style="table 5_CH" height="30" rowSpan="1">
<staticText>
<reportElement uuid="70ba240b-7471-40d0-89af-ffb486c40426" x="0" y="0" width="90" height="30"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Services by doctor]]></text>
</staticText>
</jr:columnHeader>
<jr:columnFooter height="30" rowSpan="1">
<box>
<pen lineWidth="0.5"/>
<topPen lineWidth="0.5"/>
<leftPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
<rightPen lineWidth="0.5"/>
</box>
</jr:columnFooter>
<jr:detailCell style="table 5_TD" height="20" rowSpan="1">
<textField>
<reportElement uuid="3dee1b58-18d9-46d1-9f15-83187acbb958" x="0" y="0" width="90" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{intra_fho_final_by_doctor}]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
<jr:column uuid="c74af907-1849-414a-af92-e2ce8ae993b9" width="90">
<jr:columnHeader style="table 5_CH" height="30" rowSpan="1">
<staticText>
<reportElement uuid="e479699f-be34-4b02-ac94-04d081f1f701" x="0" y="0" width="90" height="30"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Net Services by Physicians]]></text>
</staticText>
</jr:columnHeader>
<jr:columnFooter height="30" rowSpan="1">
<box>
<pen lineWidth="0.5"/>
<topPen lineWidth="0.5"/>
<leftPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
<rightPen lineWidth="0.5"/>
</box>
</jr:columnFooter>
<jr:detailCell style="table 5_TD" height="20" rowSpan="1">
<textField>
<reportElement uuid="a1a6b8e4-fde3-4420-98c6-870f22b1227c" x="0" y="0" width="90" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{intra_fho_final_Net_Services_by_Physicians}]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
<jr:column uuid="beb168ea-b1a8-4ac9-8aae-eb5c15e983f5" width="90">
<jr:columnHeader style="table 5_CH" height="30" rowSpan="1">
<staticText>
<reportElement uuid="b29fb3a0-5b2a-4ad3-b3c1-9624a2690ac9" x="0" y="0" width="90" height="30"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Value of Net Services]]></text>
</staticText>
</jr:columnHeader>
<jr:columnFooter height="30" rowSpan="1">
<box>
<pen lineWidth="0.5"/>
<topPen lineWidth="0.5"/>
<leftPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
<rightPen lineWidth="0.5"/>
</box>
</jr:columnFooter>
<jr:detailCell style="table 5_TD" height="20" rowSpan="1">
<textField>
<reportElement uuid="2e6374e8-8e70-4823-97d9-81599f44016f" x="0" y="0" width="90" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{intra_fho_final_Value_of_Net_Services}]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
</jr:table>
</componentElement>
</band>
</summary>
</jasperReport>