<%@ Page Language="C#" MasterPageFile="~/MasterPages/Main.master" AutoEventWireup="true"
    CodeFile="ReconResult.aspx.cs" Inherits="Business_ReconResult"  %>

<%@ Register Src="../UserControls/DatePicker.ascx" TagName="DatePicker" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script language="javascript" type="text/javascript">
        function UserConfirmation() {
            var userSelection;

            userSelection = confirm("Are you sure you want to Generate Report ?");

            if (userSelection) {
                return true;
            } else {
                return false;
            }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>

    <table class="body_MainTB" border="0" cellpadding="0" cellspacing="0">
        <tr align="center">
            <td valign="top">
                <!------------------------------------body St  ---------------------------------------------->
                <table border="0" cellpadding="0" cellspacing="0" class="body_formTitle">
                    <tr>
                        <td>
                            Reconciliation Results
                        </td>
                    </tr>
                </table>
                <br>
                <!------------------------------------body End1 ----------------------------------------------->
                
                
                <table border="0" cellpadding="0" cellspacing="0" class="contTB">
                    <tr>
                        <td align="center">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="Frow">
                                <tr>
                                    <td>
                                    </td>
                                </tr>
                            </table>
                            <br />
                            <asp:Panel ID="pnlSearch" runat="server" >
                            <table border="0" width="100%" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                <tr>
                                    <td class="tdNormal">
                                        Channel
                                    </td>
                                    <td colspan="4">
                                        <asp:DropDownList ID="ddlChannels" runat="server" DataTextField="channel_name" Width="250px"
                                            DataValueField="rc_code" class="fieldNormal" AutoPostBack="True" OnSelectedIndexChanged="ddlChannels_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        Event
                                    </td>
                                    <td colspan="4">
                                        <asp:DropDownList ID="ddlEvents" runat="server" DataTextField="evant_name" Width="250px"
                                            DataValueField="re_code" class="fieldNormal" AutoPostBack="True" OnSelectedIndexChanged="ddlEvents_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        Transaction Type
                                    </td>
                                    <td colspan="4">
                                        <asp:DropDownList ID="ddl_tranType" runat="server" Width="250px" 
                                            AutoPostBack="true" class="fieldNormal" 
                                            onselectedindexchanged="ddl_tranType_SelectedIndexChanged">
                                             <asp:ListItem Value="0">------- Event Type -------</asp:ListItem>
                                            <asp:ListItem Value="ALL">All</asp:ListItem>
                                            <asp:ListItem Value="CR">Credit</asp:ListItem>
                                            <asp:ListItem Value="DR">Debit</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        Date
                                    </td>
                                    <td>
                                        <uc1:DatePicker ID="DatePicker1" runat="server" width="250" />
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        Type</td>
                                    <td>
                                        <asp:RadioButton ID="RadioButton1" runat="server" Checked="True" 
                                            GroupName="non" Text="Non Match Recon" ToolTip="Exist in Master Not in Switch"/>
                                        <br />
                                        <asp:RadioButton ID="RadioButton2" runat="server" GroupName="non" 
                                            Text="Non Match Transactions" ToolTip="Exist in Switch Not in Master"/>
                                        <br />

                                        <div id="Channel_6" runat="server" visible="false">
                                        <asp:RadioButton ID="RadioButton4" runat="server" GroupName="non" 
                                            Text="Match Transactions" ToolTip="Exist in Switch Not in Master"/>
                                        <br />
                                        </div>

                                        <asp:RadioButton ID="RadioButton3" runat="server" GroupName="non" 
                                            Text="Duplicated in Switch" ToolTip="Duplicated in Switch"/>
                                    </td>
                                    <td class="tdNormal">
                                        &nbsp;</td>
                                    <td class="tdNormal">
                                        &nbsp;</td>
                                    <td class="tdNormal">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td class="tdNormal" style="text-align: center" colspan="5">
                                        <br />
                                        <asp:Label ID="lblError" runat="server" Text="" class="fieldError"></asp:Label><br />
                                        <asp:Label ID="lblError0" runat="server" class="fieldError" Visible="False">0</asp:Label><br />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="5" style="text-align: center">
                                        <asp:Button ID="btnSearch" runat="server" Text="Search" CssClass="Btn_L_Normal" onclick="btnSearch_Click" />&nbsp;
                                        <asp:Button ID="btn_GenerateRPT" runat="server" CssClass="Btn_L_Normal" Text="Generate Report" OnClientClick="return UserConfirmation()" OnClick="btn_GenerateRPT_Click" />
                                    </td>
                                </tr>
                            </table>
                            </asp:Panel>
                            <br />

                        <%--    
                            <asp:UpdatePanel ID="updPnl_ResultChannel" runat="server">
                            <ContentTemplate>
                                <asp:UpdateProgress ID="UpdateProgress3" runat="server" 
                                    AssociatedUpdatePanelID="updPnl_ResultChannel" DisplayAfter="0">
                                    <ProgressTemplate>
                                    <img alt="Loading" src="../Images/ajax-loader.gif" />
                                    </ProgressTemplate>
                                </asp:UpdateProgress>--%>

                                    <asp:Panel ID="pnlResultChannel" runat="server" Width="100%" Visible="false">
                                        <fieldset id="addItem">
                                            <legend id="addItem">Recon Results</legend>
                                        </fieldset>
                                        <table border="0" width="100%" cellpadding="0" cellspacing="0" class="add_ItemTB1">
                                            <tr>
                                                <td class="tdNormal" colspan="5">
                                                    <asp:GridView ID="GridView1" CssClass="gridMaster" Width ="100%" runat="server" AutoGenerateColumns="False"
                                                        AllowPaging="True" AllowSorting="True" CellPadding="4" ForeColor="#333333" GridLines="None"
                                                        DataKeyNames="ct_code" OnRowCommand="GridView1_RowCommand" EmptyDataText="There are no results">
                                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                                        <Columns>
                                                            <asp:BoundField DataField="TRAN_DATE" HeaderText="TRAN Date" />
                                                            <asp:BoundField DataField="TRAN_TIME" HeaderText="TRAN Time" />
                                                            <asp:BoundField DataField="CARD_NUMBER" HeaderText="CARD NUMBER" />
                                                            <asp:BoundField DataField="FINANCIAL_FLAG" HeaderText="Financial flag" />
                                                            <asp:BoundField DataField="TERM_ID" HeaderText="TERM ID" />
                                                            <asp:BoundField DataField="TRAN_AMOUNT" HeaderText="AMOUNT" />
                                                            <asp:BoundField DataField="TRAN_SOURCE" HeaderText="Acquirer" />
                                                            <asp:BoundField DataField="TRAN_DEST" HeaderText="Issuer" />
                                                            <asp:BoundField DataField="RRN" HeaderText="Reference No" />
                                                            <asp:BoundField DataField="TRAN_CURR" HeaderText="TRAN_CURR" />
                                                            <asp:BoundField DataField="Pcode_Type" HeaderText="Pcode Type" />
                                                            <asp:ButtonField ButtonType="Image" ItemStyle-Width="30px" CommandName="v" Text="View Transaction details"
                                                                ImageUrl="~/Images/document_view.jpg">
                                                                <ItemStyle Width="30px" />
                                                            </asp:ButtonField>
                                                        </Columns>
                                                        <PagerStyle BackColor="#284775" ForeColor="White" />
                                                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="Black" />
                                                        <EditRowStyle BackColor="#999999" />
                                                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" HorizontalAlign="Right" />
                                                    </asp:GridView>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="tdNormal" style="width: 20%">
                                                    Go To Page:
                                                    <asp:DropDownList ID="ddlPages" runat="server" class="fieldNormal" AutoPostBack="True"
                                                        Width="50px" OnSelectedIndexChanged="ddlPages_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </td>
                                                <td class="tdNormal">
                                                </td>
                                                <td class="tdNormal">
                                                </td>
                                                <td class="tdNormal">
                                                </td>
                                                <td class="tdNormal">
                                                </td>
                                            </tr>
                                            <%--<tr>

                                                <td class="tdNormal" style="width:25%">
                                                    <asp:Label ID="lbl_firstPage" runat="server"></asp:Label>
                                                </td>

                                                <td class="tdNormal"  style="width:10%">
                                                    <asp:LinkButton ID="lnk_firstPage" runat="server" Text="First"></asp:LinkButton>
                                                </td>

                                                <td class="tdNormal" style="width:30%" align="center">
                                                    <asp:LinkButton ID="lnk_prePage" runat="server" Text="...Previous" 
                                                        onclick="lnk_prePage_Click"></asp:LinkButton>
                                                    
                                                    <asp:LinkButton ID="lnk_nextPage" runat="server" Text="Next..." 
                                                        onclick="lnk_nextPage_Click"></asp:LinkButton>
                                                </td>

                                                <td class="tdNormal" style="width:10%">
                                                    <asp:LinkButton ID="lnk_lastPage" runat="server" Text="Last"></asp:LinkButton>
                                                </td>

                                                 <td class="tdNormal" style="width:25%">
                                                    
                                                </td>
                                            </tr>--%>
                                        </table>
                                    </asp:Panel>
                          <%--      </ContentTemplate>
                            </asp:UpdatePanel>
--%>
                                
                    <%--    <asp:UpdatePanel ID="updpnl_ResultMaster" runat="server">
                            <ContentTemplate>
                                <asp:UpdateProgress ID="UpdateProgress111" runat="server" 
                                    AssociatedUpdatePanelID="updpnl_ResultMaster" DisplayAfter="0">
                                    <ProgressTemplate>
                                    <img alt="Loading" src="../Images/ajax-loader.gif" />
                                    </ProgressTemplate>
                                </asp:UpdateProgress>
--%>

                                <asp:Panel ID="pnlResultMaster" runat="server" Width="100%" Visible="false">
                                    <fieldset id="addItem">
                                        <legend id="addItem">Recon Results</legend>
                                    </fieldset>
                                    <table border="0" width="100%" cellpadding="0" cellspacing="0" class="add_ItemTB1">
                                        <tr>
                                            <td class="tdNormal" colspan="5">
                                                <asp:GridView ID="GridView2" CssClass="gridMaster" Width ="100%" runat="server" AutoGenerateColumns="False"
                                                    AllowPaging="True" AllowSorting="True" CellPadding="4" ForeColor="#333333" GridLines="None"
                                                    DataKeyNames="mt_code" OnRowCommand="GridView2_RowCommand" EmptyDataText="There are no results">
                                                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                                    <Columns>
                                                        <asp:BoundField DataField="TRAN_DATE" HeaderText="TRAN Date" />
                                                        <asp:BoundField DataField="TRAN_TIME" HeaderText="TRAN Time" />
                                                        <asp:BoundField DataField="CARD_NUMBER" HeaderText="CARD NUMBER" />
                                                        <asp:BoundField DataField="FINANCIAL_FLAG" HeaderText="FINANCIAL FLAG" />
                                                        <asp:BoundField DataField="TERM_ID" HeaderText="TERM ID" />
                                                        <asp:BoundField DataField="TRAN_SOURCE" HeaderText="Acquirer" />
                                                        <asp:BoundField DataField="TRAN_DEST" HeaderText="Issuer" />
                                                        <asp:BoundField DataField="RRN" HeaderText="Reference No" />
                                                        <asp:BoundField DataField="TRAN_AMOUNT" HeaderText="AMOUNT" />
                                                        <asp:BoundField DataField="TRAN_CURR" HeaderText="TRAN_CURR" />
                                                        <asp:BoundField DataField="SETTL_AMOUNT" HeaderText="SETTL_AMOUNT" />
                                                                    <asp:BoundField DataField="SETTL_CURR" HeaderText="SETTL_CURR" />
                                                        <asp:BoundField DataField="Pcode_Type" HeaderText="Pcode Type" />
                                                        <asp:ButtonField ButtonType="Image" ItemStyle-Width="30px" CommandName="v" Text="View Transaction details"
                                                            ImageUrl="~/Images/document_view.jpg">
                                                            <ItemStyle Width="30px" />
                                                        </asp:ButtonField>
                                                    </Columns>
                                                    <PagerStyle BackColor="#284775" ForeColor="White" />
                                                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="Black" />
                                                    <EditRowStyle BackColor="#999999" />
                                                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" HorizontalAlign="Right" />
                                                </asp:GridView>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 20%">
                                                Go To Page:
                                                <asp:DropDownList ID="ddlPages1" runat="server" class="fieldNormal" AutoPostBack="True"
                                                    Width="50px" OnSelectedIndexChanged="ddlPages1_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </td>
                                            <td class="tdNormal">
                                            </td>
                                            <td class="tdNormal">
                                            </td>
                                            <td class="tdNormal">
                                            </td>
                                            <td class="tdNormal">
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>

                        <%--    </ContentTemplate>
                        </asp:UpdatePanel>--%>
                            
                        <%--<asp:UpdatePanel ID="updPnl_ControlsChannel" runat="server">
                            <ContentTemplate>
                                <asp:UpdateProgress ID="UpdateProgress2" runat="server" 
                                    AssociatedUpdatePanelID="updPnl_ControlsChannel" DisplayAfter="0">
                                    <ProgressTemplate>
                                    <img alt="Loading" src="../Images/ajax-loader.gif" />
                                    </ProgressTemplate>
                                </asp:UpdateProgress>--%>

                                <asp:Panel ID="pnlControlsChannel" runat="server" Width="100%">
                                    <fieldset id="addItem">
                                        <legend id="addItem">Transaction details</legend>
                                    </fieldset>
                                    <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB1">
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Record date
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label1" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment Date
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label2" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction date
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label3" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction time
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label4" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Card number
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label5" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                ISO response
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label6" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Terminal ID
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label7" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction amount
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label8" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Acquirer
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label9" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Issuer
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label10" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Message type
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label11" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Trace ID
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label12" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                File number
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label13" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Card brand
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label14" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Reference number
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label15" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Card expiry date
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label16" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Account number
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label17" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Auth code
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label18" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Business class
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label19" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Recon status
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label20" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction currency
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label21" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment currency
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label22" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment amount
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label23" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction change
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label24" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Match result
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label25" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Chip index
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label26" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Channel name
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label27" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Event name
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label28" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                PCODE
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label29" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Financial flag
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label30" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                product
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label31" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Message reason code
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label32" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment flag
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label33" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Claim ID
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label82" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>



                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                GL Account Number
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lblGLAcct" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                             <td class="tdNormal" style="width:15%">
                                            Equation Value date</td>
                                        <td class="tdNormal" style="width:30%">
                                            <asp:Label ID="lblFinValDate" runat="server" Font-Bold="True" Text=""></asp:Label>
                                        </td>
                                        </tr>

                                          
                                    <tr>
                                       <td class="tdNormal" style="width:15%">
                                            Equation Posting time</td>
                                        <td class="tdNormal" style="width:30%">
                                            <asp:Label ID="lblFinPostTime" runat="server" Font-Bold="True" Text=""></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width:10%">
                                            &nbsp;</td>
                                        <td class="tdNormal" style="width:15%">
                                            Equation Posting date</td>
                                        <td class="tdNormal" style="width:30%">
                                            <asp:Label ID="lblFinPostDate" runat="server" Font-Bold="True" Text=""></asp:Label>
                                        </td>
                                    </tr>

                                    <tr>
                                       <td class="tdNormal" style="width:15%">
                                            Merchant Name</td>
                                        <td class="tdNormal" style="width:30%">
                                            <asp:Label ID="lblMerchantName" runat="server" Font-Bold="True" Text=""></asp:Label> </td>
                                        <td class="tdNormal" style="width:10%">
                                            &nbsp;</td>
                                       <td class="tdNormal" style="width:10%">
                                            &nbsp;</td>
                                       <td class="tdNormal" style="width:10%">
                                            &nbsp;</td>
                                    </tr>
                                    
                                   

                                    
                                    </table>
                                    <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                        <tr>
                                            <td>
                                                <asp:Button ID="btnCancel" runat="server" Text="   Cancel   " class="Btn_M_Normal"
                                                    CausesValidation="False" OnClick="btnCancel_Click" />
                                                <asp:Button ID="btn_editTran" runat="server" Text="   Edit   " class="Btn_M_Normal"
                                                    CausesValidation="False" onclick="btn_editTran_Click"/>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
<%--
                            </ContentTemplate>
                        </asp:UpdatePanel>--%>
                                
                                <asp:Panel ID="pnlControlsMaster" runat="server" Width="100%">
                                    <fieldset id="addItem">
                                        <legend id="addItem">Search Results</legend>
                                    </fieldset>
                                    <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB1">
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Record date </td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label34" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Settlment Date</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label35" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Transaction date </td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label36" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Transaction time</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label37" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Card number </td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label38" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">PCODE</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label39" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Financial flag </td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label40" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Postililion response</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label41" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">ISO response</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label42" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Terminal ID</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label43" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Transaction amount</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label44" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Acquirer</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label45" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Issuer</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label46" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Message type</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label47" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Trace ID</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label48" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">File number</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label49" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Card brand</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label50" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Reference number</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label51" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Card expiry date</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label52" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Account number</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label53" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Authorization code</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label54" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Business class</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label55" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Transaction status</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label56" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Transaction Currancy</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label57" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Settlment currancy</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label58" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Settlment amount</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label59" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Transaction change</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label60" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Recon required flag</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label61" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">recon performed flag</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label62" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Match criteria</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label63" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Match reference 1</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label64" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Match reference 2</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label65" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Match reference 3</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label66" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Match reference 4</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label67" runat="server" Text="Label" Font-Bold="True"></asp:Label><td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Match date 1</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label68" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Match date 2</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label69" runat="server" Text="Label" Font-Bold="True"></asp:Label><td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Match date 3</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label70" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Match date 4</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label71" runat="server" Text="Label" Font-Bold="True"></asp:Label><td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Chip data</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label72" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Next match</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label73" runat="server" Text="Label" Font-Bold="True"></asp:Label><td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Event</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label74" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Product</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label75" runat="server" Text="Label" Font-Bold="True"></asp:Label><td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Original Seq Number</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label76" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Original date</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label77" runat="server" Text="Label" Font-Bold="True"></asp:Label><td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Original time</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label78" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">ATM 2</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label79" runat="server" Text="Label" Font-Bold="True"></asp:Label><td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">ATM 3</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label80" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Authenticate AMT</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label81" runat="server" Text="Label" Font-Bold="True"></asp:Label><td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Match Criteria</td>
                                            <td class="tdNormal" colspan=4>
                                                <asp:GridView ID="GridView3" CssClass="gridMaster" Width ="100%" runat="server" AutoGenerateColumns="False"
                                                     CellPadding="4" 
                                                    ForeColor="#333333" GridLines="None"  
                                                     EmptyDataText="There are no results">
                                                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333"  />
                                                    <Columns>
                                                        <asp:BoundField DataField="channel_name" HeaderText="Channel Name" />
                                                        <asp:BoundField DataField="mresult" HeaderText="Match Result" />
                                                    </Columns>
                                                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="Black" />
                                                    <EditRowStyle BackColor="#999999" />
                                                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" HorizontalAlign="Right" />
                                                </asp:GridView>
                                            </td>
                                        </tr>
                                    </table>
                                    <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                        <tr>
                                            <td>
                                                <asp:Button ID="btnCancel1" runat="server" Text="   Cancel   " 
                                                    class="Btn_M_Normal" CausesValidation="False" onclick="btnCancel1_Click" />
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>

                                
                      <%--<asp:UpdatePanel ID="updPnl_editB24Tran" runat="server">
                            <ContentTemplate>
                                <asp:UpdateProgress ID="UpdateProgress1" runat="server" 
                                    AssociatedUpdatePanelID="updPnl_editB24Tran" DisplayAfter="0">
                                    <ProgressTemplate>
                                    <img alt="Loading" src="../Images/ajax-loader.gif" />
                                    </ProgressTemplate>
                                </asp:UpdateProgress>  --%>
                         
                                <asp:Panel ID="pnl_editB24Tran" runat="server" Width="100%">
                                    <fieldset id="addItem">
                                        <legend id="addItem">Edit Transaction</legend>
                                    </fieldset>
                                    <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB1">
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Record date
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_recordDate" runat="server" Text="" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment Date
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_settlDate" runat="server" Text="" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction date
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_tranDate" runat="server" Text="" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction time
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_tranTime" runat="server" Text="" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Card number
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_cardNumber" runat="server" Text="" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                ISO response
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_isoRes" runat="server" Text="" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Terminal ID
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <div runat="server" id="Div" visible="false" style="z-index: 1; position: absolute">
                                                    <table border="0" cellpadding="0" cellspacing="0" class="grid_TitleBG_B">
                                                        <tr>
                                                            <td>
                                                                Base24 Mathched Transactions
                                                            </td>
                                                        </tr>
                                                    </table>
                                                    <asp:GridView AllowPaging="true" ID="grd_trans" CssClass="gridMaster" Width ="100%" runat="server"
                                                        AutoGenerateColumns="False" OnRowCommand="grd_trans_RowCommand" CellPadding="4"
                                                        ForeColor="#333333" GridLines="None" DataKeyNames="MT_CODE" OnPageIndexChanging="grd_trans_PageIndexChanging"
                                                        EmptyDataText="There are no Suggestted Transactions">
                                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                                        <Columns>
                                                            <asp:BoundField DataField="TERM_ID" HeaderText="Terminal ID" />
                                                            <asp:BoundField DataField="TRAN_SOURCE" HeaderText="Acquirer" />
                                                            <asp:BoundField DataField="TRAN_DEST" HeaderText="Issuer" />
                                                            <asp:BoundField DataField="TRACE_ID" HeaderText="Trace ID" />
                                                            <asp:BoundField DataField="AUTH_CODE" HeaderText="Auth. Code" />
                                                            <asp:BoundField DataField="RE_CODE" HeaderText="Event" />
                                                            <asp:BoundField DataField="TRAN_DATE" HeaderText="Date" />
                                                            <asp:BoundField DataField="TRAN_AMOUNT" HeaderText="Amount" />
                                                            

                                                            <asp:ButtonField ButtonType="Image" ItemStyle-Width="30px" CommandName="s" Text="Select Transaction"
                                                                ImageUrl="~/Images/document_view.jpg"></asp:ButtonField>
                                                        </Columns>
                                                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="Black" />
                                                        <EditRowStyle BackColor="#999999" />
                                                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                                    </asp:GridView>
                                                    <asp:Button ID="btn_close" runat="server" Text="Close" CssClass="Btn_L_Normal" OnClick="btn_close_Click" />
                                                </div>
                                            
                                                <asp:TextBox runat="server" ID="txt_terminalId" Font-Bold="True"></asp:TextBox>

                                                <asp:ImageButton ID="img_search" runat="server" ToolTip="Suggested Matched Transactions" ImageUrl="~/Images/document_view.jpg"
                                                        OnClick="img_search_Click" />

                                            
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction amount
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_tranAmount" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Acquirer
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="txt_tranSource" runat="server" Font-Bold="True"></asp:TextBox>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Issuer
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="txt_tranDest" runat="server" Font-Bold="True"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Message type
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_msgType" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Trace ID
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="txt_traceId" runat="server" Font-Bold="True"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                File number
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_fileNumber" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Card brand
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_cardBrand" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Reference number
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_refNumber" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Card expiry date
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_cardExpiryDate" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Account number
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_accountNumber" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Auth code
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="txt_authCode" runat="server" Text="" Font-Bold="True"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Business class
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_businessClass" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Recon status
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_reconStatus" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction currency
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_tranCurrency" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment currency
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_settlCurrency" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment amount
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_settlAmount" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction change
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_tranChange" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Match result
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_matchResult" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Chip index
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_chipIndex" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Channel name
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_channelName" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Event name
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:DropDownList ID="ddl_eventName" runat="server" DataTextField="evant_name" AutoPostBack="True"
                                                        Width="100%" DataValueField="re_code" Font-Bold="true" Font-Size="12px">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                PCODE
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_pCode" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Financial flag
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_financialFlag" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Product
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_product" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Message reason code
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_msgReasonCode" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment flag
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_settlFlag" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Claim ID
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_claimId" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                    
                                    </table>
                                    <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                        <tr>
                                            <td>
                                                <asp:Button ID="btn_updatePnl_cancel" runat="server" Text="   Cancel   " class="Btn_M_Normal"
                                                    CausesValidation="False" onclick="btn_updatePnl_cancel_Click"/>
                                                <asp:Button ID="btn_updatePnl_save" runat="server" Text="   Save   " class="Btn_M_Normal"
                                                    CausesValidation="False" onclick="btn_updatePnl_save_Click"/>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            <%--</ContentTemplate>
                        </asp:UpdatePanel> --%>
                            <!------------------------------------body End2 ----------------------------------------------->
                            <br />
                        </td>
                    </tr>
                </table>
                <!------------------------------------body End2 ----------------------------------------------->
            </td>
        </tr>
    </table>
</asp:Content>
