<%@ Page Language="C#" MasterPageFile="~/AngelShopMasters.Master" AutoEventWireup="true"
    CodeBehind="grzx.aspx.cs" Inherits="AngelShop.grzx" Title="Member Information" %>

<%@ Register Src="~/usercontrol/Member.ascx" TagName="mem" TagPrefix="URL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <script language="javascript" type="text/javascript">
    function checkUserName(){ 
               
                var Company=document.getElementById("<%=txtCompanyName.ClientID%>"); 
                 var Firstname=document.getElementById("<%=txtFirstName.ClientID%>"); 
                  var  Lastname=document.getElementById("<%=txtLastName.ClientID%>"); 
                   var Address=document.getElementById("<%=txtAddress.ClientID%>"); 
              
                 if(Company.value.length==0)
                {
                   alert("Please enter a user CompanyName. "); 
                    Company.focus(); 
                    return false; 
                }
                 if(Firstname.value.length==0)
                {
                    alert("Please enter a user Firstname. "); 
                    Firstname.focus(); 
                    return false; 
                }
                 if(Lastname.value.length==0)
                {
                    alert("Please enter a user Lastname. "); 
                    Lastname.focus(); 
                    return false; 
                }
                  if(Address.value.length==0)
                {
                    alert("Please enter a user Address. "); 
                    Address.focus(); 
                    return false; 
                }
                return true;   
}

                
    </script>

    <div class="neiye">
        <div class="neiye_1" style="width: 207px;">
            <URL:mem ID="me" runat="server" />
        </div>
        <div class="neiye_2">
            <div class="neiye_24">
                <div class="grzx">
                    <div class="grzx_t">
                        Modify Personal Information</div>
                    <div class="neiye_24 neiye_25">
                        <table width="100%" height="478" border="0" cellpadding="0" cellspacing="0" style="margin-top: 10px;">
                            <tr>
                                <td height="470" valign="top">
                                    <table width="729" height="22" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
                                        <tr>
                                            <td width="110" height="22" align="right">
                                                <p>
                                                    Company name:</p>
                                            </td>
                                            <td width="640" align="left" class="kuan">
                                                <asp:TextBox ID="txtCompanyName" runat="server" Style="width: 300px;"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="729" height="22" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
                                        <tr>
                                            <td width="110" height="22" align="right">
                                                First name:
                                            </td>
                                            <td width="640" align="left" class="kuan">
                                                <asp:TextBox ID="txtFirstName" runat="server" Style="width: 300px;"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="640" height="22" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
                                        <tr>
                                            <td width="137" height="22" align="right">
                                                <p>
                                                    Last name:
                                                </p>
                                            </td>
                                            <td width="640" align="left" class="kuan">
                                                <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="729" height="22" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
                                        <tr>
                                            <td width="110" height="22" align="right">
                                                <p>
                                                    Address:
                                                </p>
                                            </td>
                                            <td width="640" align="left" class="kuan">
                                                <asp:TextBox ID="txtAddress" runat="server" Style="width: 300px;"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="729" height="22" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
                                        <tr>
                                            <td width="110" height="22" align="right">
                                                <p>
                                                    City:</p>
                                            </td>
                                            <td width="640" align="left" class="kuan">
                                                <asp:TextBox ID="txtCity" runat="server" Style="width: 300px;"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="640" height="22" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
                                        <tr>
                                            <td width="130" height="22" align="right">
                                                <p>
                                                    Province:</p>
                                            </td>
                                            <td width="640" align="left" class="kuan">
                                                <asp:TextBox ID="txtProvince" runat="server"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="640" height="22" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
                                        <tr>
                                            <td width="130" height="22" align="right">
                                                <p>
                                                    Country:</p>
                                            </td>
                                            <td width="640" align="left" class="kuan">
                                                <asp:DropDownList ID="txtCountry" runat="server" Style="width: 260px; height: 24px;
                                                    border: 1px solid #CCC;">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="640" height="22" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
                                        <tr>
                                            <td width="125" height="22" align="right">
                                                <p>
                                                    ZIP/Postal code:</p>
                                            </td>
                                            <td width="640" align="left" class="kuan">
                                                <asp:TextBox ID="drCode" runat="server"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="729" height="22" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
                                        <tr>
                                            <td width="110" height="22" align="right">
                                                <p>
                                                    Tel:</p>
                                            </td>
                                            <td width="640" align="left" class="kuan">
                                                <asp:TextBox ID="txtTel" runat="server" Style="width: 300px;"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="729" height="22" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
                                        <tr>
                                            <td width="110" height="22" align="right">
                                                <p>
                                                    Fax:</p>
                                            </td>
                                            <td width="640" align="left" class="kuan">
                                                <asp:TextBox ID="txtFax" runat="server" Style="width: 300px;"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="729" height="22" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
                                        <tr>
                                            <td width="110" height="22" align="right">
                                                <p>
                                                    Mobile:</p>
                                            </td>
                                            <td width="640" align="left" class="kuan">
                                                <asp:TextBox ID="txtMobile" runat="server" Style="width: 300px;"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="729" height="22" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
                                        <tr>
                                            <td width="110" height="22" align="right">
                                                <p>
                                                    MSN:</p>
                                            </td>
                                            <td width="640" align="left" class="kuan">
                                                <asp:TextBox ID="txtMsn" runat="server" Style="width: 300px;"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="729" height="22" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
                                        <tr>
                                            <td width="110" height="22" align="right">
                                                <p>
                                                    Tax ID/VAT No:</p>
                                            </td>
                                            <td width="640" align="left" class="kuan">
                                                <asp:TextBox ID="txtTax" runat="server" Style="width: 300px;"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="140" height="25" border="0" cellpadding="0" cellspacing="0" style="margin-top: 15px;
                                        margin-left: 170px;">
                                        <tr>
                                            <td width="70" align="center">
                                                <asp:ImageButton ID="imgBtnSure" runat="server" ImageUrl="~/images/ann_03.jpg" class="anan"
                                                    OnClick="imgBtnSure_Click" OnClientClick=" return checkUserName()" />
                                            </td>
                                            <td align="right">
                                                <asp:ImageButton ID="imgBtnReset" runat="server" class="anan1" ImageUrl="~/images/ann_05.jpg"
                                                    OnClick="imgBtnReset_Click" OnClientClick="return confirm('Whether to clear the entered information?')" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
