<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true" CodeFile="DeleteUser.aspx.cs" Inherits="DeleteUser" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMain" Runat="Server">
    <div id="divPageMessages" runat="server" class="pageMessages">
		<asp:literal id="litPageMessages" runat="server" />
	</div>

	<fieldset>
		<legend>
			Delete User
		</legend>

		<asp:validationsummary id="myValidationSummary"
			runat="server" cssclass="validationSummary"
			enableclientscript="true" displaymode="BulletList"
			showsummary="true" showmessagebox="false"
			headertext="Please fix below errors and then continue:" />

		<div class="field">

			<div class="caption">
				<asp:label id="lblUsername" runat="server" text="Username:"
					cssclass="label" />
			</div>

			<div class="controls">
				<asp:textbox id="txtUsername" runat="server" maxlength="20"
					cssclass="username" />
				<asp:requiredfieldvalidator id="rfvUsername" runat="server"
					controltovalidate="txtUsername" cssclass="validator"
					display="Dynamic" enableclientscript="true"
					setfocusonerror="true" text="*" errormessage="Username is required!"
					initialvalue="" />
				<asp:regularexpressionvalidator id="revUsername"
					runat="server" controltovalidate="txtUsername"
					cssclass="validator" display="Dynamic" enableclientscript="true"
					setfocusonerror="true" text="*" errormessage="Username is not valid!"
					validationexpression="[a-zA-Z0-9]{4,20}" />
			</div>

		</div>

		<div class="buttons">
			<asp:button id="btnSubmit" runat="server" text="(S)ubmit"
				cssclass="button" accesskey="S" onclick="btnSubmit_Click" />
			<input type="reset" value="(R)eset" class="button"
				accesskey="R" />
		</div>

	</fieldset>
</asp:Content>

