<%@ Register TagPrefix="uc1" TagName="FieldMappingControl" Src="UserControls/FieldMappingControl.ascx" %>
<%@ Page language="c#" Codebehind="import.aspx.cs" AutoEventWireup="false" Inherits="Orciid.import" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title id="PageTitle" runat="server">Import Data</title>
		<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body>
		<form method="post" runat="server">
			<h1 id="Heading" runat="server">Import Data</h1>
			<H2><asp:label id="CollectionTitleLabel" runat="server"></asp:label></H2>
			<P><asp:hyperlink id="PropertiesHyperLink" runat="server">Back to Properties</asp:hyperlink></P>
			<asp:panel id="StatusPanel" runat="server">
				<H3 id="StatusHeading" runat="server">Import Status</H3>
				<PRE>
<asp:Label id="StatusLabel" runat="server"></asp:Label></PRE>
				<PRE>
<asp:Button id="ClearStatusButton" runat="server" Text="Clear Status"></asp:Button>
<asp:Button id="AbortButton" runat="server" Text="Abort Import"></asp:Button></PRE>
			</asp:panel><asp:panel id="SelectFilePanel" runat="server">
				<P><SPAN id="FileLabelSpan" runat="server">File:</SPAN> <INPUT id="FileUpload" type="file" name="FileUpload" runat="server">&nbsp;
					<asp:Button id="ReadFileButton" runat="server" Text="Read File"></asp:Button></P>
				<asp:Panel id="ImportOptionsPanel" runat="server" Visible="False">
					<H3 id="ImportOptionsHeading" runat="server">Import Options</H3>
					<TABLE cellSpacing="2" cellPadding="2" border="0">
						<TR>
							<TD colSpan="2">
								<asp:CheckBox id="ValidateOnlyCheckBox" runat="server" Text="Validate file contents only (do not import data)"></asp:CheckBox></TD>
						</TR>
						<TR>
							<TD colSpan="2">
								<asp:CheckBox id="ReplaceRecordsCheckBox" runat="server" Text="Replace existing image records"></asp:CheckBox></TD>
						</TR>
						<TR>
							<TD>Identifier field:</TD>
							<TD>
								<asp:DropDownList id="IDFieldDropDownList" runat="server"></asp:DropDownList></TD>
						</TR>
						<TR>
							<TD>Resource field:</TD>
							<TD>
								<asp:DropDownList id="ResourceFieldDropDownList" runat="server"></asp:DropDownList></TD>
						</TR>
						<TR>
							<TD>Format of internal date information:</TD>
							<TD>
								<asp:DropDownList id="DateFormatDropDownList" runat="server"></asp:DropDownList></TD>
						</TR>
						<TR>
							<TD>Split values on
								<asp:DropDownList id="SplitModeDropDownList" runat="server"></asp:DropDownList>:</TD>
							<TD>
								<asp:TextBox id="SplitAtTextBox" runat="server"></asp:TextBox></TD>
						</TR>
					</TABLE>
					<uc1:FieldMappingControl id="FieldMappings" runat="server"></uc1:FieldMappingControl>
					<P>
						<asp:Button id="ImportDataButton" runat="server" Text="Import Data"></asp:Button></P>
				</asp:Panel>
				<H3 id="SchemaHeading" runat="server">XML Schema for this Collection</H3>
				<P>
					<asp:Button id="ShowSchemaButton" runat="server" Text="Show XML Schema"></asp:Button></P>
			</asp:panel>
		</form>
	</body>
</HTML>
