<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title></title>
	<telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
	<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
		<Scripts>
			<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
			<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
			<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
		</Scripts>
	</telerik:RadScriptManager>
	<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
	</telerik:RadAjaxManager>
	<div>
		<telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="true">
			<ContentTemplate>
				<telerik:RadGrid OnNeedDataSource="gridMonitoredNames_NeedDataSource" 
					AutoGenerateColumns="false" runat="server" AllowAutomaticUpdates="true" AllowAutomaticDeletes="true"
					 ID="gridMonitoredNames" AllowSorting="true" AllowPaging="true" Skin="Web20">
			<MasterTableView EditMode="EditForms" DataKeyNames="ClientRecordID">
				<Columns>
					<telerik:GridBoundColumn UniqueName="EmployeeID" HeaderText="Identifier" DataField="EmployeeID" >
						
					</telerik:GridBoundColumn>
					<telerik:GridTemplateColumn  UniqueName="EmployeeID">
						<EditItemTemplate >
							<telerik:RadTextBox ID="RadTextBox1" runat="server" Text='<%# Bind("EmployeeID") %>'></telerik:RadTextBox>
							<asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="RadTextBox1" runat="server" ErrorMessage="RequiredFieldValidator"
							  EnableClientScript="false">
							</asp:RequiredFieldValidator>
						</EditItemTemplate>
					</telerik:GridTemplateColumn>
					<telerik:GridBoundColumn UniqueName="LastName" ColumnEditorID="" HeaderText="Last Name" DataField="LastName"></telerik:GridBoundColumn>
					<telerik:GridEditCommandColumn UniqueName="Edit" HeaderText="Edit" ButtonType="ImageButton" EditText="Edit" CancelText="Cancel ">
					</telerik:GridEditCommandColumn>
				</Columns>
			</MasterTableView>
		</telerik:RadGrid>
			</ContentTemplate>
		</telerik:RadWindow>
	</div>
	</form>
</body>
</html>
