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

<%@ 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 type="text/javascript">
    function askToConfirm() 
    {
        if (confirm('Rs. 150.00 will be debit from your account as Pan Card Fee. Are you sure want to continue')) {
            //alert('Hahaha!! I just joking');
            return true;
        }
        else {

            alert('Its Better to check the Name Again');
            return false;
        }
    }
    
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="middle">
        
    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
                <td colspan="4" class="hdr">
                    <a href="PanCard.aspx" class="active">PAN Card</a> <span style="padding-right: 32px;">
                        &nbsp;</span><a href="DigitalSignature.aspx" target="_parent">Digital Signature</a>
                    <span style="padding-left: 32px;">&nbsp;</span><a href="MoneyTransfer.aspx">Money Transfer</a>
                </td>
            </tr>
            <tr>
                <td colspan="4" style="text-align:center"><asp:Label ID="lblMsg" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="4">
                  <div id="divControl" runat="server" >
                     <table>
                        <tr>
                    <td width="15%"> </td>
                    <td width="32%">Name of Pan Card Holder </td>
                    <td width="3%">
                        <strong>:</strong>
                    </td>
                    <td width="50%">
                        <asp:TextBox ID="txtName" runat="server" onkeypress="return isAlpha(event)" MaxLength="25"></asp:TextBox>
                  
                        <asp:RequiredFieldValidator ID="rfvPanCardHolderName" runat="server" ErrorMessage="Please Enter Name" ControlToValidate="txtName" Display="None"></asp:RequiredFieldValidator>
                        <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="rfvPanCardHolderName">
                        </cc1:ValidatorCalloutExtender>
                    </td>
                </tr>
                        <tr>
                            <td width="15%">
                            </td>
                            <td width="32%">
                                Customer Mobile No 
                            </td>
                            <td width="3%">
                                <strong>:</strong>
                            </td>
                            <td width="50%">
                                <asp:TextBox ID="txtMobNo" runat="server" onkeypress="return digitonly(this,event)" MaxLength="10"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvCusterMobileNo" runat="server" ErrorMessage="Please Enter Mobile No." ControlToValidate="txtMobNo" Display="None"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID="rfvCusterMobileNo">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                            </td>
                            <td width="32%">
                            </td>
                            <td width="3%">
                                <strong></strong>
                            </td>
                            <td width="50%">
                                <asp:Button ID="btnPancard" runat="server" Text="Submit" OnClientClick="return askToConfirm()"
                                    onclick="btnPancard_Click1" style="height: 26px"/>
                            </td>
                        </tr>
                     </table>
                 </div>
               </td>
            </tr>
            
            <tr>
                <td colspan="4" align="center">
                    <%--<div id="divconfirm" style="padding-left:40%" runat="server">
                       <table>
                              <tr>
                                  <td style="text-align:center"><asp:Label ID="lblConfirm" runat="server" Text="Rs. 110.00 will be debit from your account as Pan Crad Fee. Are you sure want to continue"></asp:Label></td>
                              </tr>
                              <tr>
                                  <td style="text-align:center"><asp:Button ID="btnyes" runat="server" Text="yes" onclick="btnyes_Click"  />&nbsp;&nbsp;&nbsp;
                                                                <asp:Button ID="btnNo" runat="server" Text="No" 
                                          onclick="btnNo_Click" /></td>
                              </tr>
                       </table>
                           
                           
                   </div>--%>
                </td>
            </tr>
            <tr>
                <td style="height: 10px;" colspan="4">
                    
                </td>
            </tr>
            <tr id='trPancardfrm1' runat="server">
                <td width="15%">
                </td>
                <td width="32%">
                    Pan Card Request Form
                </td>
                <td width="3%">
                    <strong>:</strong>
                </td>
                <td width="50%">
                    <a href="../pancardform/pancardform.zip" target="_blank" style="text-decoration: none">
                    
                        <input type="button" class="button" value="Download" />
                        <%--<asp:Button ID="btnPCRF" runat="server" class="button" Text="Download" />--%></a>
                </td>
            </tr>
            <tr>
                <td style="height: 10px;" colspan="4">
                </td>
            </tr>
            <tr id='trPancardfrm2' runat="server">
                <td width="15%">
                </td>
                <td width="32%">
                    Pan Card Request Form
                </td>
                <td width="3%">
                    <strong>:</strong>
                </td>
                <td width="50%">
                    <a href="../pancardform/pancardform.zip" target="_blank" style="text-decoration: none">
                    <input type="button" class="button" value="Download" /></a>
                </td>
            </tr>
            <tr> 
                 <td colspan="4" style="height: 30px"><asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager></td>
            </tr>
        </table>
    </div>
    <div id="right" style="background: none">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td class="cdr">
                    <strong>Instruction : Pan Card</strong>
                </td>
            </tr>
            <tr>
                <td style="padding: 10px 0 30px 5px; font-size: 15px">
                    Comming Soon
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
