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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <form>
    <div id="middle">
    
    <script src="../javascript/scriptvalidation.js" type="text/javascript"></script>
    
        <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
                <td colspan="4" class="hdr">
                    <a href="Profile.aspx" class="active">View Profile</a><span style="padding-right: 30px;">&nbsp;</span>
                    <span style="padding-left: 50px;">&nbsp;</span><a href="ChangePassword.aspx">Change
                        Password</a>
                </td>
            </tr>
            <tr>
                <td style="height: 30px; text-align:center ;" colspan="4" ><asp:Label ID="lblsucess" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="4" style="text-align: center">
                    <h2>Personal Detail</h2>
                </td>
            </tr>
            <tr>
                <td width="12%">
                </td>
                <td width="33%">
                    Corporate Name
                </td>
                <td width="3%">
                    <strong>:</strong>
                </td>
                <td width="52%">
                    <asp:Label ID="lblCorporateName" runat="server"></asp:Label>
                    <%--<asp:TextBox ID="txt_Corporate_Name" runat="server" MaxLength="25" onkeypress="return isAlpha(event)"></asp:TextBox>--%>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Authorised Person Name
                </td>
                <td>: </td>
                <td>
                    <asp:Label ID="lbl_FirstName" runat="server"></asp:Label>
                    <asp:Label ID="lbl_LastName" runat="server"></asp:Label>
                    <%--<asp:TextBox ID="txt_FirstName" runat="server" MaxLength="15" onkeypress="return isAlpha(event)" Width="85px"></asp:TextBox>
                    <asp:TextBox ID="txt_LastName" runat="server" MaxLength="15" onkeypress="return isAlpha(event)" Width="85px"></asp:TextBox>--%>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Gender
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:Label ID="lblGender" runat="server"></asp:Label>
                    <%--<asp:TextBox ID="txt_Gender" runat="server" MaxLength="10" onkeypress="return isAlpha(event)"></asp:TextBox>--%>                
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Marital Status
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:Label ID="lblMaritalStattus" runat="server"></asp:Label>
                    <%--<asp:TextBox ID="txt_MaritalStattus" runat="server" MaxLength="12" onkeypress="return isAlpha(event)"></asp:TextBox>--%>
                                
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Occupation
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:Label ID="lblOccupation" runat="server"></asp:Label>
                    <%--<asp:TextBox ID="txt_Occupation" runat="server" MaxLength="25" onkeypress="return isAlpha(event)"></asp:TextBox>--%>
                </td>
            </tr>
            <tr>
                <td colspan="4" style="text-align: center">
                    <h2>
                        Office Address</h2>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Address1
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:TextBox ID="txtAddress1" TextMode="MultiLine" runat="server" Width="180px" Height="30"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Address2
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:TextBox ID="txtAddress2" TextMode="MultiLine" runat="server" Width="180px" Height="30"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Country
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                     <asp:Label ID="lblCountry" runat="server"></asp:Label>
                     <%--<asp:TextBox ID="txt_Country" runat="server" onkeypress="return isAlpha(event)"></asp:TextBox>--%>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    State
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:DropDownList ID="ddlState" runat="server" Width="185px" 
                        AutoPostBack="True" onselectedindexchanged="ddlState_SelectedIndexChanged">
                        <asp:ListItem>Select</asp:ListItem>
                    </asp:DropDownList>
                   
                    <asp:RequiredFieldValidator ID="rfvState" runat="server" ControlToValidate="ddlState"
                        ErrorMessage="Please Select State" InitialValue="Select" Display="None">
                    </asp:RequiredFieldValidator>
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" TargetControlID="rfvState"
                        runat="server">
                    </cc1:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    District
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:DropDownList ID="ddlDistric" runat="server" Width="185px">
                        <asp:ListItem>Select</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvDistric" runat="server" ControlToValidate="ddlDistric"
                        ErrorMessage="Please Select Distric" InitialValue="Select" Display="None">
                    </asp:RequiredFieldValidator>
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender4" TargetControlID="rfvDistric"
                        runat="server">
                    </cc1:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    City
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:TextBox ID="txtCity" runat="server" ></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvCity" runat="server" ControlToValidate="txtCity"
                        ErrorMessage="Please Select City" InitialValue="Select" Display="None">
                    </asp:RequiredFieldValidator>
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender5" TargetControlID="rfvCity"
                        runat="server">
                    </cc1:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Phone Number
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:TextBox ID="txtPhonNumber" runat="server" onkeypress="return digitonly(this,event)" MaxLength="11"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvPhonNumber" runat="server" ControlToValidate="txtPhonNumber"
                        ErrorMessage="Please Enter Phone Number" Display="None">
                    </asp:RequiredFieldValidator>
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender6" TargetControlID="rfvPhonNumber"
                        runat="server">
                    </cc1:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Mobile Number
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:TextBox ID="txtMobileNumber" runat="server" onkeypress="return digitonly(this,event)" MaxLength="10"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvMobileNumber" runat="server" ControlToValidate="txtMobileNumber"
                        ErrorMessage="Please Enter MobileNumber" Display="None">
                    </asp:RequiredFieldValidator>
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender7" TargetControlID="rfvMobileNumber"
                        runat="server">
                    </cc1:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Fax Number
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:TextBox ID="txtFaxNumber" runat="server" onkeypress="return digitonly(this,event)" MaxLength="11"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvFaxNumber" runat="server" ControlToValidate="txtFaxNumber"
                        ErrorMessage="Please Enter Fax Number" Display="None">
                    </asp:RequiredFieldValidator>
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender8" TargetControlID="rfvMobileNumber"
                        runat="server">
                    </cc1:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td colspan="4" style="text-align: center">
                    <h2>
                        Primary Details</h2>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Pan Number
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:TextBox ID="txtPanNumber" runat="server"  MaxLength="11"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvPanNumber" runat="server" ControlToValidate="txtPanNumber"
                        ErrorMessage="Please Enter Pan Number" Display="None">
                    </asp:RequiredFieldValidator>
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender15" TargetControlID="rfvPanNumber"
                        runat="server">
                    </cc1:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    E-Mail ID
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:TextBox ID="txtEMailID" runat="server" OnClientClick="return reset1()"></asp:TextBox>
                    
                    <asp:RequiredFieldValidator ID="rfvEmailID" runat="server" ControlToValidate="txtEMailID"
                        ErrorMessage="Please Enter EmailID" Display="None">
                    </asp:RequiredFieldValidator>
                    
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorEmailid" 
                        runat="server" ErrorMessage="Please enter valid EmailID" Display="None" 
                    ControlToValidate="txtEMailID" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                    
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender16" TargetControlID="rfvEmailID" runat="server">
                    </cc1:ValidatorCalloutExtender>
                    
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" TargetControlID="RegularExpressionValidatorEmailid" runat="server">
                    </cc1:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Alternate E-Mail ID
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <asp:TextBox ID="txtAlternateEmailID" runat="server" OnClientClick="return reset1()"></asp:TextBox>
                    
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Authorize Mobile No.
                </td>
                <td>
                    <strong>:</strong>
                </td>
                <td>
                    <%--<asp:TextBox ID="txtMobileNo" runat="server" onkeypress="return digitonly(this,event)" MaxLength="10"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvMobileNo" runat="server" ControlToValidate="txtMobileNo"
                        ErrorMessage="Please Enter Mobile No." Display="None">
                    </asp:RequiredFieldValidator>
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender18" TargetControlID="rfvMobileNo"
                        runat="server">
                    </cc1:ValidatorCalloutExtender>--%>
                    <asp:Label ID="lblAutMobNum" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="4" style="text-align: center; padding: 20px 0 0 0">
                    <asp:Button ID="btnSubmit" runat="server" Text="Update Profile" class="button" 
                        onclick="btnSubmit_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="4" style="height: 30px"><asp:ScriptManager ID="ScriptManager" runat="server">
                    </asp:ScriptManager>
                </td>
            </tr>
        </table>
    </div>
    </form>
    <div id="right" style="background: none">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td class="cdr">
                    <strong>Edit Profile instruction</strong>
                </td>
            </tr>
            <tr>
                <td style="padding: 10px 0 30px 5px; font-size: 15px">
                    Comming Soon
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
