<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage/AdminMasterPage.master" AutoEventWireup="true" CodeFile="PushTransfer.aspx.cs" 
Inherits="PushTransfer" EnableViewStateMac="true" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

    <script src="../javascript/scriptvalidation.js" type="text/javascript"></script>
    <script src="script/ddlevelsmenu.js" type="text/javascript"></script>
    <script src="script/func.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">

    function checkDate(sender, args) {
        if (sender._selectedDate < new Date()) {
            //alert("You cannot select a day earlier than today!");
            sender._selectedDate = new Date();
            sender._textbox.set_Value(sender._selectedDate.format(sender._format))
        }
        else {
            sender._selectedDate = new Date();
            // set the date back to the current date
            sender._textbox.set_Value(sender._selectedDate.format(sender._format))
        }
    }
</script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
	
<tr>
  <td><table cellpadding="0" cellspacing="0" align="center">
    <tr><td colspan="10">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
    <td width="36%">&nbsp;</td>
    <td width="9%">White Label/MD</td>
    <td width="1%"><strong>:</strong></td>
    <td width="54%"><asp:DropDownList ID="ddl_White_Label_MD" runat="server" 
            AutoPostBack="True" 
            onselectedindexchanged="ddl_White_Label_MD_SelectedIndexChanged">
                    <asp:ListItem>Select</asp:ListItem>
                    </asp:DropDownList>
    </td>
  </tr>
 <tr>
    <td width="36%">&nbsp;</td>
    <td width="9%">Distributor</td>
    <td width="1%"><strong>:</strong></td>
    <td width="54%"><asp:DropDownList ID="ddl_Distributor" runat="server" 
            AutoPostBack="True" 
            onselectedindexchanged="ddl_Distributor_SelectedIndexChanged">
                    <asp:ListItem>Select</asp:ListItem> 
                    </asp:DropDownList>
    </td>
  </tr>
  <tr>
    <td width="36%">&nbsp;</td>
    <td width="9%">Agent</td>
    <td width="1%"><strong>:</strong></td>
    <td width="54%"><asp:DropDownList ID="ddl_Agent" runat="server" AutoPostBack="True" 
            onselectedindexchanged="ddl_Agent_SelectedIndexChanged">
                    </asp:DropDownList>
   </td>
  </tr>
 
  <tr>
    <td width="36%">&nbsp;</td>
    <td width="9%">User Id</td>
    <td width="1%"><strong>:</strong></td>
    <td width="54%"><asp:Label ID="lbl_UserId" runat="server"></asp:Label></td>
  </tr>  
   
  <tr>
    <td>&nbsp;</td>
    <td>Name</td>
    <td><strong>:</strong></td>
    <td><asp:Label ID="lbl_Name" runat="server" ></asp:Label></td>
  </tr>
  
  <tr>
    <td>&nbsp;</td>
    <td>Balance</td>
    <td><strong>:</strong></td>
    <td><asp:Label ID="lbl_Balance" runat="server"></asp:Label></td>
  </tr>
  
   <tr>
    <td width="36%">&nbsp;</td>
    <td width="9%">Select Type</td>
    <td width="1%"><strong>:</strong></td>
    <td width="54%"><asp:DropDownList ID="ddl_type" runat="server">
                    <asp:ListItem>Select</asp:ListItem>                    
                    <asp:ListItem>Credit</asp:ListItem>
                    <asp:ListItem>Roll Back</asp:ListItem>                    
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Please Select Type"
         ControlToValidate="ddl_type" InitialValue="Select"></asp:RequiredFieldValidator></td>
  </tr>
  
  <tr>
    <td>&nbsp;</td>
    <td>Amount</td>
    <td><strong>:</strong></td>
    <td><asp:TextBox ID="txt_amount" runat="server" MaxLength="7" onkeypress="return digitonly(this,event)"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please Enter Amount"
         ControlToValidate="txt_amount" ></asp:RequiredFieldValidator></td>
  </tr>
  
  <tr>
    <td>&nbsp;</td>
    <td>Remark</td>
    <td><strong>:</strong></td>
    <td><asp:TextBox ID="txt_Remark" runat="server" TextMode="MultiLine"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Please Enter Remark"
         ControlToValidate="txt_Remark" ></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td><asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>&nbsp;</td>
    <td>&nbsp;</td>
    <td><strong>&nbsp;</strong></td>
    <td style="padding:10px ;"><asp:Button ID="btn_Submit" runat="server" Text="Submit" 
            class="button active" onclick="btn_Submit_Click"/></td>
  </tr>
</table>



</td></tr>

  </table></td>
</tr></table>
</asp:Content>

