<%@ page language="C#" autoeventwireup="true" inherits="phone_UpdatePass, Web" %>

<%@ Register Src="~/sys/MyHeader.ascx" TagPrefix="uc1" TagName="MyHeader" %>
<%@ Register Src="~/sys/MyFooter.ascx" TagPrefix="uc1" TagName="MyFooter" %>
<%@ Register Src="~/phone/MyHeader.ascx" TagPrefix="uc2" TagName="MyHeader" %>
<%@ Register Src="~/phone/MyFooter.ascx" TagPrefix="uc2" TagName="MyFooter" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>修改密码</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/control/plugin/bootstrap3/css/bootstrap.min.css" rel="stylesheet" />
    <script src="/control/js/jquery.js"></script>
    <script src="/control/plugin/bootstrap3/js/bootstrap.min.js"></script>
    <link href="/phone/css/style.css?v=201721" rel="stylesheet" />

</head>
<body>
    <uc2:MyHeader runat="server" ID="MyHeader" />
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12 cont">
                <div class="panel panel-default">
                    <div class=" panel-heading ">信息修改</div>
                    <div class="panel-body">
                        <form id="from1" runat="server">
                            <!-- Add.aspx -->
                            <div class="form-group" >
                                <label class=" control-label">
                                    姓名<span class='rd'>*</span>
                                    ：</label>
                                <div>

                                    <asp:TextBox ID="txtNewUser" runat="server" MaxLength="255" CssClass="form-control"></asp:TextBox>

                                </div>
                                <p class="help-block">
                                    <asp:RequiredFieldValidator ID="rfvtxtNewUser" runat="server" ForeColor="Red" Display="Dynamic"
                                        ErrorMessage="请填写" ControlToValidate="txtNewUser"></asp:RequiredFieldValidator>

                                       <asp:RegularExpressionValidator ID="revUser" runat="server" ErrorMessage="只允许数字字母@_."  ForeColor="Red" Display="Dynamic"
                                            ControlToValidate="txtNewUser" ValidationExpression="^[0-9a-zA-z_@]{1,50}$"> 
                                       </asp:RegularExpressionValidator>

                                </p>
                            </div>
                            <div class="form-group" >
                                <label class=" control-label">
                                    手机号<span class='rd'>*</span>
                                    ：</label>
                                <div>

                                    <asp:TextBox ID="txt_Phone" runat="server" MaxLength="255" CssClass="form-control"></asp:TextBox>

                                </div>
                                <p class="help-block">
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ForeColor="Red" Display="Dynamic"
                                        ErrorMessage="请填写" ControlToValidate="txtNewUser"></asp:RequiredFieldValidator>

                                       <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="只允许数字"  ForeColor="Red" Display="Dynamic"
                                            ControlToValidate="txt_Phone" ValidationExpression="^[0-9]{1,50}$"> 
                                       </asp:RegularExpressionValidator>

                                </p>
                            </div>
                          

                            <div class="form-group">
                                <asp:Button ID="btnSubmit" runat="server" Text="修改" CssClass="btn btn-block  btn-primary " OnClick="btnSubmit_Click" />
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <uc2:MyFooter runat="server" ID="MyFooter" />
</body>
</html>

