<%@ page language="C#" masterpagefile="~/MasterPages/Main.master" autoeventwireup="true" inherits="Business_TSearchB24, App_Web_tsearchb24.aspx.36edc644" viewStateEncryptionMode="Always" maintainScrollPositionOnPostBack="true" %>

<%@ Register src="../UserControls/DatePicker.ascx" tagname="DatePicker" tagprefix="uc1" %>
<%@ Register src="../UserControls/LOV.ascx" tagname="LOV" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script language="javascript" type="text/javascript">
function validate()
{
    var message = "";

//    if (document.getElementById("<%=lov_cardNumbers.ClientID%>").value == "")
//    {
//        message += "You have to enter the card number\n";
//    }

//    if (isNaN(document.getElementById("<%=lov_cardNumbers.ClientID%>").value))
//    {
//        message += "Card number must contain numbers only\n";
//    }
     
 /*   if ( isNaN(document.getElementById("<%=txtTerminal.ClientID%>").value) )
    {
        message += "ATM number must contain numbers only\n";
    }*/
    
    if(message.length >0)
    {
        message = "please notice the following requirments:\n\n" + message;
        alert(message);
        return false;
    }
    return true;
}
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <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>
                                        Master Transaction Search</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 />
                                        <table border="0" width=100% cellpadding="0" cellspacing="0" class="add_ItemTB">
                                                <tr>
                                                    <td class="tdNormal">
                                                        ATM number
                                                    </td>
                                                    <td class="tdNormal">
                                                        <asp:TextBox ID="txtTerminal" MaxLength="16" runat="server" class="fieldNormal" Width=250></asp:TextBox>
                                                    </td>
                                                     <td class="tdNormal"></td>
                                                     <td class="tdNormal">Event</td>
                                                     <td class="tdNormal">
                                                        <asp:DropDownList ID="ddlEvents" AutoPostBack="true" runat="server" DataTextField="evant_name" 
                                                            Width="250px" DataValueField="re_code" class="fieldNormal" 
                                                             onselectedindexchanged="ddlEvents_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                     </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal">
                                                        Card Number
                                                    </td>
                                                    <td>
                                                       <uc1:LOV ID="lov_cardNumbers" runat="server" />
                                                  
                                                 </td>
                                                 <td class="tdNormal"></td>
                                                 <td class="tdNormal">Reference Number</td>
                                                 <td class="tdNormal"><asp:TextBox ID="txtReferenceNumber" runat="server" class="fieldNormal" Width=250></asp:TextBox></td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal">
                                                    Date (From)
                                                    </td>
                                                    <td>
                                                        <uc1:DatePicker ID="DatePicker1" runat="server" width=250 />
                                                 </td>
                                                 <td class="tdNormal"></td>
                                                 <td class="tdNormal">
                                                     Acquirer</td>
                                                 <td class="tdNormal"> 
                                                        <asp:DropDownList ID="ddlAcquirer" runat="server" DataTextField="display" 
                                                            Width="250px" DataValueField="bin" class="fieldNormal">
                                                        </asp:DropDownList>
                                                 </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal">
                                                        Date (To)</td>
                                                    <td>
                                                        <uc1:DatePicker ID="DatePicker2" runat="server" width=250  />
                                                 </td>
                                                 <td class="tdNormal">&nbsp;</td>
                                                 <td class="tdNormal">
                                                     Issuer</td>
                                                 <td class="tdNormal">
                                                        <asp:DropDownList ID="ddlIssuer" runat="server" DataTextField="display" 
                                                            Width="250px" DataValueField="bin" class="fieldNormal" AutoPostBack="True" 
                                                            onselectedindexchanged="ddlAcquirer_SelectedIndexChanged" >
                                                        </asp:DropDownList>
                                                 </td>
                                                </tr>
                                                   <tr>
                                                    <td class="tdNormal">
                                                        From Time (hh:mm:ss)</td>
                                                    <td>
                                                       <asp:TextBox ID="TextBoxFrom" MaxLength="8" runat="server" class="fieldNormal" Width=250></asp:TextBox>
                                                 </td>
                                                 <td class="tdNormal">&nbsp;</td>
                                                 <td class="tdNormal">
                                                      To Time (hh:mm:ss)</td>
                                                 <td class="tdNormal">
                                                       <asp:TextBox ID="TextBoxTo" MaxLength="8" runat="server" class="fieldNormal" Width=250></asp:TextBox>
                                                 </td>
                                                </tr>
                                                <tr runat ="server" id="trAcct">
                                                    <td class="tdNormal">
                                                        Account Number
                                                    </td>
                                                     <td> 
                                                       <asp:TextBox ID="txtAccount" MaxLength="18" runat="server" class="fieldNormal" 
                                                             Width=250></asp:TextBox>
                                                    </td>
                                                      <td class="tdNormal">&nbsp;</td>
                                                       <td class="tdNormal"></td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" colspan="5">
                                                        <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                            ControlToValidate="txtCardNumber" Display="Dynamic" 
                                                            ErrorMessage="You must enter the Card Number"></asp:RequiredFieldValidator>--%>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="5" style="text-align:center">
                                                        <asp:Button ID="Button1" runat="server" Text="Search" CssClass="Btn_L_Normal" OnClientClick="return validate()" 
                                                            onclick="Button1_Click" />
                                                        <asp:Button ID="btnClear" runat="server" Text="Clear" CssClass="Btn_L_Normal" 
                                                            onclick="btnClear_Click" CausesValidation="False" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="5" style="text-align:center">
                                                        <asp:Label ID="lbl_error" runat="server" Text="" class="fieldError"></asp:Label>
                                                    </td>
                                                </tr>

                                                
                                                <tr>
                                                    <td colspan="5" style="text-align:center">
                                                        &nbsp;</td>
                                                </tr>

                                                
                                            </table>
                                            <br />
                                        <asp:Panel ID="pnlResult" runat="server" Width="100%" Visible="false">
                                            <fieldset id="addItem">
                                             <legend id="addItem">Master Transaction Search 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="mt_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="msg_type" HeaderText="Txn type" />
                                                                <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="PRODUCT" HeaderText="Product" />
                                                                <asp:BoundField DataField="TRAN_AMOUNT" HeaderText="AMOUNT" />
                                                                <asp:BoundField DataField="SETTL_AMOUNT" HeaderText="Settl Amount" />
                                                                <asp:BoundField DataField="SETTL_CURR" HeaderText="Settl Currency" />
                                                                <asp:BoundField DataField="TRAN_CURR" HeaderText="TRAN_CURR" />
                                                                <asp:BoundField DataField="Pcode_Type" HeaderText="Pcode Type" />
                                                                 <asp:BoundField DataField="b24_rsp" HeaderText="Response" />
                                                                <asp:ButtonField ButtonType="Image" ItemStyle-Width="30px" CommandName="v" 
                                                                    Text="View Transaction details" ImageUrl="~/Images/document_view.jpg" >
                                                                </asp:ButtonField>
                                                            </Columns>
                                                        </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>
                                            </table>
                                        </asp:Panel>  
                                        <asp:Panel ID="pnlControls" runat="server" Width="90%">
                                <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%">PCODE</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%">Financial flag </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%">Postilion response</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%">ISO response</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%">Terminal ID</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%">Transaction amount</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%">Acquirer</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%">Issuer</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%">Message type</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%">Trace ID</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%">File number</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%">Card brand</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%">Reference number</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%">Card expiry date</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%">Account number</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%">Authorization code</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%">Business class</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%">Transaction status</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 Currancy</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%">Settlment currancy</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%">Settlment amount</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%">Transaction change</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%">Recon required flag</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%">recon performed flag</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%">Match criteria</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%">Match reference 1</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%">Match reference 2</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%">Match reference 3</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%">Match reference 4</td>
                                        <td class="tdNormal" style="width:30%"><asp:Label ID="Label34" 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="Label35" 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="Label36" 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="Label37" 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="Label38" 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="Label39" 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="Label40" 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="Label41" 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="Label42" 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="Label43" 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="Label44" 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="Label45" 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="Label46" 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="Label47" 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="Label48" runat="server" Text="Label" Font-Bold="True"></asp:Label><td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width:15%">Merchant Settl Details</td>
                                        <td class="tdNormal" style="width:30%"><asp:Label ID="Label49" runat="server" Text="Label" Font-Bold="True"></asp:Label></td>
                                        <td class="tdNormal" style="width:10%">&nbsp;</td>
                                        <td class="tdNormal" style="width:15%"></td>
                                        <td class="tdNormal" style="width:30%"></td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width:15%">Match Criteria</td>
                                        <td class="tdNormal" colspan=4>
                                            <asp:GridView ID="GridView2" 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="btnCancel" runat="server" Text="   Cancel   " 
                                                class="Btn_M_Normal" CausesValidation="False" onclick="btnCancel_Click" />
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>                                      
                                        <!------------------------------------body End2 ----------------------------------------------->
                                        <br />
                                    </td>
                                </tr>
                            </table>
                            <!------------------------------------body End2 ----------------------------------------------->
                        </td>
                    </tr>
                </table>
</asp:Content>

