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

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">

    <h1 class="skjema-admin__page-title">
        Rediger PDF/XFT
    </h1>

    <div class="skjema-admin__page__field">
	    <asp:Label 
            id="Label4" 
            CssClass="skjema-admin__page__label"
            runat="server">
            Xft file
	    </asp:Label>

        <input id="flXftBinary" type="file" name="fleDocumentBinary" runat="server">
    </div>

    <div class="skjema-admin__page__field">

	    <asp:Label 
            id="Label1" 
            CssClass="skjema-admin__page__label"
            runat="server">
            Name
	    </asp:Label>

		<asp:TextBox 
            id="txtName" 
            CssClass="skjema-admin__page__text"
            runat="server" 
            MaxLength="300">
		</asp:TextBox>

		<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="You must specify a name."
			ControlToValidate="txtName" Display="Dynamic"></asp:RequiredFieldValidator>
    </div>

    <div class="skjema-admin__page__field">
	    <asp:Label 
            id="Label3" 
            CssClass="skjema-admin__page__label"
            runat="server">
            Comment
	    </asp:Label>

		<asp:TextBox 
            id="txtComment" 
            CssClass="skjema-admin__page__text"
            runat="server" 
            TextMode="MultiLine" 
            Height="50px">
		</asp:TextBox>
    </div>

	<asp:Button 
        id="btnUpdate" 
        runat="server" 
        Text="Update"
        CssClass="skjema-admin__button skjema-admin__button--primary"
        onclick="btnUpdate_Click">
	</asp:Button>

	<asp:Label id="lblMessage" runat="server" ForeColor="Red"></asp:Label>
</asp:Content>