<%@ Page Language="C#" MasterPageFile="~/masterpage/MasterPage.master" AutoEventWireup="true"
    CodeFile="BillPaymentMode.aspx.cs" Inherits="BillPaymentMode" Title="eGen Service" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<script type="text/javascript">
    function askToConfirm() {
        if (confirm('Are you sure You want to move on,Please Check the Number Again')) {
           return true;
        }
        else {

            alert('Its Better to check the Number Again');
            return false;
        }
    }
    </script>
<script src="../javascript/scriptvalidation.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    
    <div id="middle1">         
        <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
                <td class="hdr" colspan="3">
                <asp:Label ID="lblerror" runat="server"></asp:Label></td>
            </tr>            
            <tr>
                <td class="style3" width="40%" align="right">
                    Operator
                </td>
                <td width="10%" class="style4">
                    ::
                </td>
                <td align="left" width="50%">
                    <asp:Label ID="lblOperator" runat="server"></asp:Label>
                </td>
            </tr>
            
            
            <tr>
                <td class="style3" width="40%" align="right">
                    Mobile/Landline No.
                </td>
                <td width="10%" class="style4">
                    ::
                </td>
                <td align="left" width="50%">
                    <asp:TextBox ID="txtMobile" runat="server" onkeypress="return digitonly(this,event)"
                        MaxLength="10" Width="174px" ToolTip="Please Enter Mobile No To Recharge"></asp:TextBox>                    
                    <asp:RequiredFieldValidator ID="rfv_Mobile_no" runat="server" ControlToValidate="txtMobile" 
                        ErrorMessage="Please Enter Mobile No." Display="None">
                    </asp:RequiredFieldValidator>
                    
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender6" runat="server" TargetControlID="rfv_Mobile_no">
                    </cc1:ValidatorCalloutExtender>    
                </td>
            </tr>
            
            <div id="divstdcode" runat="server">
            
            <tr >
                <td class="style3" width="40%" align="right">
                    Circle
                </td>
                <td width="10%" class="style4">
                    ::
                </td>
                <td align="left" width="50%">
                    <asp:DropDownList ID="ddlCircle" runat="server" AppendDataBoundItems="true" ToolTip="Circles">
                    <asp:ListItem>Select Circle</asp:ListItem>
                    <asp:ListItem Value="13">Andhra Pradesh</asp:ListItem>
                    <asp:ListItem Value="24">Assam</asp:ListItem>
                    <asp:ListItem Value="17">Bihar</asp:ListItem>
                    <asp:ListItem Value="7">Chennai</asp:ListItem>
                    <asp:ListItem Value="27">Chhattigarh</asp:ListItem>
                    <asp:ListItem Value="5">Delhi</asp:ListItem>
                    <asp:ListItem Value="4">Goa</asp:ListItem>
                    <asp:ListItem Value="12">Gujarat</asp:ListItem>
                    <asp:ListItem Value="20">Haryana</asp:ListItem>
                    <asp:ListItem Value="21">Himachal Pradesh</asp:ListItem>
                    <asp:ListItem Value="25">Jammu & Kashmir</asp:ListItem>
                    <asp:ListItem Value="22">Jharkhand</asp:ListItem>
                    <asp:ListItem Value="9">Karnataka</asp:ListItem>
                    <asp:ListItem Value="14">Kerala</asp:ListItem>
                    <asp:ListItem Value="6">Kolkata</asp:ListItem>
                    <asp:ListItem Value="16">Madhya Pradesh</asp:ListItem>
                    <asp:ListItem Value="4">Maharashtra</asp:ListItem>
                    <asp:ListItem Value="3">Munbai</asp:ListItem>
                    <asp:ListItem Value="26">North East</asp:ListItem>
                    <asp:ListItem Value="23">Orissa</asp:ListItem>
                    <asp:ListItem Value="1">Punjab</asp:ListItem>
                    <asp:ListItem Value="18">Rajasthan</asp:ListItem>
                    <asp:ListItem Value="8">Tamil Nadu</asp:ListItem>
                    <asp:ListItem Value="10">Uttar Pradesh East</asp:ListItem>
                    <asp:ListItem Value="11">Uttar Pradesh West</asp:ListItem>                    
                    <asp:ListItem Value="2">West Bengal</asp:ListItem>
                    </asp:DropDownList>                    
                    <asp:RequiredFieldValidator ID="rfv_Circle" runat="server" ControlToValidate="ddlCircle" InitialValue="Select Circle"
                     ErrorMessage="Please Select Circle" Display="None">
                    </asp:RequiredFieldValidator>                    
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender5" runat="server" TargetControlID="rfv_Circle">
                    </cc1:ValidatorCalloutExtender>
                </td>
            </tr>
            
            <tr>
                <td class="style3" width="40%" align="right">
                    STD Code.
                </td>
                <td width="10%" class="style4">
                    ::
                </td>
                <td align="left" width="50%">
                    <asp:TextBox ID="txt_stdcode" runat="server" onkeypress="return digitonly(this,event)"
                        MaxLength="6" Width="174px" ToolTip="Please Enter STD Code."></asp:TextBox>                    
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_stdcode" 
                        ErrorMessage="Please Enter STD Code." Display="None">
                    </asp:RequiredFieldValidator>
                    
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="RequiredFieldValidator1">
                    </cc1:ValidatorCalloutExtender>    
                </td>
            </tr>
            <tr>
                <td class="style3" width="40%" align="right">
                    userAccountNumber.
                </td>
                <td width="10%" class="style4">
                    ::
                </td>
                <td align="left" width="50%">
                    <asp:TextBox ID="TxtuserAccNo" runat="server" onkeypress="return digitonly(this,event)"
                        MaxLength="12" Width="174px" ToolTip="Please Enter User Account Number."></asp:TextBox>                    
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxtuserAccNo" 
                        ErrorMessage="Please Enter User Account Number." Display="None">
                    </asp:RequiredFieldValidator>                    
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID="RequiredFieldValidator2">
                    </cc1:ValidatorCalloutExtender>    
                </td>
            </tr>
            </div>
            
            <tr>
                <td class="style3" width="40%" align="right">
                    Amount
                </td>
                <td width="10%" class="style4">
                    ::
                </td>
                <td align="left" width="50%">
                    <asp:TextBox ID="txtAmount" onkeypress="return digitonly(this,event)" runat="server"
                        MaxLength="4" Width="174px" ToolTip="Please Enter Recharge Amount"></asp:TextBox>                    
                    <asp:RequiredFieldValidator ID="rfv_Amount" runat="server" ControlToValidate="txtAmount" 
                        ErrorMessage="Please Enter Amount" Display="None">
                    </asp:RequiredFieldValidator>
                    
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender7" runat="server" TargetControlID="rfv_Amount">
                    </cc1:ValidatorCalloutExtender>    
                </td>
            </tr>
            
            <tr>
                <td class="style3" width="40%" align="right">
                <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
                </td>
                <td width="10%">
                </td>
                <td align="left" width="50%">
                    <asp:Button ID="btnNext" runat="server" Text="PayNow" OnClick="btnNext_Click" Style="height: 26px" OnClientClick="return askToConfirm()"  />&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btbBack" runat="server" Text="Back" CausesValidation="False" OnClick="btbBack_Click" />
                </td>
            </tr>
        </table>
       
    </div>
   
   
</asp:Content>
