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

<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 validate(input, e)//OnClientClick="return validate(this,event)"
       {
           if (document.getElementById('ctl00_ContentPlaceHolder1_ddlUserName').value == "Select User Name") {
               alert("Please Select User Id !");

               document.getElementById('ctl00_ContentPlaceHolder1_ddlUserName').focus();
               return false;
           }

           else if (document.getElementById('ctl00_ContentPlaceHolder1_txtMobileNo').value == "") {

               alert("Please Enter Mobile Number !");

               document.getElementById('ctl00_ContentPlaceHolder1_txtMobileNo').focus();

               return false;
           }
       }
   </script>

   
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="contentmain">
        <div id="content">
            <div id="detailform">
                <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" align="center">
                                            <tr>
                                                <td colspan="4">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="31%">
                                                    &nbsp;
                                                </td>
                                                <td width="12%">
                                                    Select User ID
                                                </td>
                                                <td width="1%">
                                                    <strong>:</strong>
                                                </td>
                                                <td width="56%">
                                                    <asp:DropDownList ID="ddlUserName" runat="server" AppendDataBoundItems="true">
                                                    </asp:DropDownList>
                                                    
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    Registered Mobile No
                                                </td>
                                                <td>
                                                    <strong>:</strong>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtMobileNo" runat="server" MaxLength="10" onkeypress="return digitonly(this,event)"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    <strong>&nbsp;</strong>
                                                </td>
                                                <td style="padding: 10px;">
                                                    <asp:Button ID="btnSubmit" runat="server" CssClass="button active" 
                                                        Text="Submit" onclick="btnSubmit_Click" OnClientClick="return validate(this,event)"/>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</asp:Content>

