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

<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>
			Update Profile
		</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="lblFullName" runat="server" text="Full Name"
					cssclass="label" />
			</div>

			<div class="controls">
				<asp:textbox id="txtFullName" runat="server" maxlength="50" 
					cssclass="username" />
				<asp:requiredfieldvalidator id="rfvFullName" runat="server"
					controltovalidate="txtFullName" cssclass="validator"
					display="Dynamic" enableclientscript="true"
					setfocusonerror="true" text="*" errormessage="Full name is required!"
					initialvalue="" />
			</div>

		</div>

		<div class="field">

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

			<div class="controls">
				<asp:textbox id="txtDescription" runat="server"
					cssclass="textBox" textmode="MultiLine" rows="10"
					columns="60" />
			</div>

		</div>

		<div class="buttons">
			<asp:button id="btnDone" runat="server" text="(D)one"
				cssclass="button" accesskey="S" OnClick="btnDone_Click"  />
			<input type="reset" value="(R)eset" class="button"
				accesskey="R" />
		</div>

	</fieldset>

</asp:Content>

