<%@ Page language="c#" Codebehind="Edit.aspx.cs" AutoEventWireup="True" Inherits="eDocument.Server.Administrator.ConsumerOnEDocumentTemplateCategory.Edit"  MasterPageFile="~/Site.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
			<h1>Edit Consumer on eDocument Template Category</h1>
			<table cellSpacing="2" cellPadding="5">
				<tr>
					<td>
						<asp:Label id="Label1" runat="server">Consumer</asp:Label>
					</td>
					<td>
						<asp:DropDownList id="ddlConsumer" runat="server" Width="500px" DataTextField="Name" DataValueField="ConsumerID"></asp:DropDownList>
					</td>
					<td>
						<asp:hyperlink id="Hyperlink1" runat="server" Target="_blank">Help</asp:hyperlink>
					</td>
					<td>
						<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="You must select a Consumer."
							ControlToValidate="ddlConsumer"></asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr>
					<td>
						<asp:Label id="Label9" runat="server">TemplateCategory</asp:Label>
					</td>
					<td>
						<asp:DropDownList id="ddlTemplateCategory" runat="server" Width="500px" DataTextField="Name" DataValueField="eDocumentTemplateCategoryID"></asp:DropDownList>
					</td>
					<td>
						<asp:hyperlink id="Hyperlink5" runat="server" NavigateUrl="" Target="_blank">Help</asp:hyperlink>
					</td>
					<td>
						<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="ddlTemplateCategory"
							ErrorMessage="You must select a template category"></asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr>
					<td>
						<asp:Label id="Label4" runat="server">Caption</asp:Label>
					</td>
					<td>
						<asp:TextBox id="txtCaption" runat="server" MaxLength="300" Width="500px"></asp:TextBox>
					</td>
					<td>
						<asp:hyperlink id="Hyperlink2" runat="server" Target="_blank">Help</asp:hyperlink>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td>
						<asp:Label id="Label5" runat="server">ImageUrl</asp:Label>
					</td>
					<td>
						<asp:TextBox id="txtImageUrl" runat="server" MaxLength="300" Width="500px"></asp:TextBox>
					</td>
					<td>
						<asp:hyperlink id="Hyperlink3" runat="server" Target="_blank">Help</asp:hyperlink>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td valign="top">
						<asp:Label id="Comment" runat="server">Description</asp:Label>
					</td>
					<td>
						<asp:TextBox id="txtComment" runat="server" TextMode="MultiLine" Height="50px" Width="500px"></asp:TextBox>
					</td>
					<td>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td colspan="2" align="right">
						<asp:Button id="btnUpdate" runat="server" Text="Update" onclick="btnUpdate_Click"></asp:Button>
					</td>
					<td>
					</td>
					<td>
					</td>
				</tr>
			</table>
			<asp:Label id="lblMessage" runat="server" ForeColor="Red"></asp:Label>
</asp:Content>