<%@ Page language="c#" Codebehind="collectionsharing.aspx.cs" AutoEventWireup="false" Inherits="Orciid.collectionsharing" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title runat="server" id="PageTitle">Collection Sharing</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">Collection Sharing</h1>
			<H2><asp:label id="CollectionTitleLabel" runat="server"></asp:label></H2>
			<P><asp:hyperlink id="PropertiesHyperLink" runat="server">Back to Properties</asp:hyperlink></P>
			<P><asp:datagrid id="SharingDataGrid" runat="server" AutoGenerateColumns="False" cellpadding="4"
					borderwidth="1px" gridlines="Vertical" bordercolor="#DCE4EC">
					<FooterStyle Wrap="False" HorizontalAlign="Left" CssClass="DataGridFooter"></FooterStyle>
					<AlternatingItemStyle CssClass="DataGridItemAlt" VerticalAlign="Top"></AlternatingItemStyle>
					<ItemStyle CssClass="DataGridItem" VerticalAlign="Top"></ItemStyle>
					<HeaderStyle Wrap="False" HorizontalAlign="Left" CssClass="DataGridHeader"></HeaderStyle>
					<Columns>
						<asp:TemplateColumn>
							<HeaderTemplate>
								<span id="UserHeadingSpan" runat="server">User</span>
							</HeaderTemplate>
							<ItemTemplate>
								<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.User") %>'>
								</asp:Label>
							</ItemTemplate>
							<EditItemTemplate>
								<asp:TextBox ID="UserTextBox" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.User") %>'>
								</asp:TextBox>
							</EditItemTemplate>
						</asp:TemplateColumn>
						<asp:TemplateColumn>
							<HeaderTemplate>
								<span id="SubnetHeadingSpan" runat="server">Subnet</span>
							</HeaderTemplate>
							<ItemTemplate>
								<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Subnet") %>'>
								</asp:Label>
							</ItemTemplate>
							<EditItemTemplate>
								<asp:TextBox ID="SubnetTextBox" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Subnet") %>'>
								</asp:TextBox>
							</EditItemTemplate>
						</asp:TemplateColumn>
						<asp:TemplateColumn>
							<HeaderTemplate>
								<span id="MaskHeadingSpan" runat="server">Mask</span>
							</HeaderTemplate>
							<ItemTemplate>
								<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Mask") %>'>
								</asp:Label>
							</ItemTemplate>
							<EditItemTemplate>
								<asp:TextBox id="MaskTextBox" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Mask") %>'>
								</asp:TextBox>
							</EditItemTemplate>
						</asp:TemplateColumn>
						<asp:TemplateColumn>
							<HeaderTemplate>
								<span id="CacheHeadingSpan" runat="server">Cache (days)</span>
							</HeaderTemplate>
							<ItemTemplate>
								<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CacheTimeSpan") %>'>
								</asp:Label>
							</ItemTemplate>
							<EditItemTemplate>
								<asp:TextBox ID="CacheTimeSpanTextBox" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CacheTimeSpan") %>'>
								</asp:TextBox>
							</EditItemTemplate>
						</asp:TemplateColumn>
						<asp:TemplateColumn>
							<HeaderTemplate>
								<span id="ExpirationHeadingSpan" runat="server">Expiration (days)</span>
							</HeaderTemplate>
							<ItemTemplate>
								<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ExpirationTimeSpan") %>'>
								</asp:Label>
							</ItemTemplate>
							<EditItemTemplate>
								<asp:TextBox ID="ExpirationTimeSpanTextBox" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ExpirationTimeSpan") %>'>
								</asp:TextBox>
							</EditItemTemplate>
						</asp:TemplateColumn>
						<asp:TemplateColumn>
							<HeaderTemplate>
								<span id="SearchResultsHeadingSpan" runat="server">Search Results</span>
							</HeaderTemplate>
							<ItemTemplate>
								<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.SearchResults") %>'>
								</asp:Label>
							</ItemTemplate>
							<EditItemTemplate>
								<asp:TextBox ID="SearchResultsTextBox" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.SearchResults") %>'>
								</asp:TextBox>
							</EditItemTemplate>
						</asp:TemplateColumn>
						<asp:TemplateColumn>
							<ItemTemplate>
								<asp:LinkButton id="DeleteLinkButton" runat="server" Text="Delete" CommandName="Delete" CausesValidation="false"></asp:LinkButton>
							</ItemTemplate>
							<EditItemTemplate>
								<asp:LinkButton runat="server" Text="Add" CommandName="Update" CausesValidation="false" ID="AddLinkButton"></asp:LinkButton>
							</EditItemTemplate>
						</asp:TemplateColumn>
					</Columns>
				</asp:datagrid></P>
		</form>
	</body>
</HTML>
