<%@ Page Language="C#" AutoEventWireup="true" Codebehind="ReturnUrlOnSubscription.aspx.cs"
    Inherits="Tjenestetorget.Administrator.ReturnUrlOnSubscription" MasterPageFile="~/Site.master" %>

<asp:Content ID="content1" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Panel ID="pnlHeading" runat="server" Width="100%">
        <h4>
            <asp:Label ID="lblTemplateName" runat="server" Visible="False"></asp:Label></h4>
    </asp:Panel>
    <asp:Panel ID="pnlMessage" runat="server">
        <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
    </asp:Panel>
    <asp:Panel ID="pnlContent" runat="server" Width="100%">
        <br>
        <table>
            <tr>
                <td>
                    <asp:Label ID="lblReturnUrlSend" runat="server">Retur-URL ved send inn: </asp:Label></td>
                <td>
                    <asp:TextBox ID="txtReturnUrlSend" runat="server" Width="400px"></asp:TextBox></td>
                <td>
									&nbsp;<asp:CustomValidator ID="returnUrlSendValidator" runat="server" ControlToValidate="txtReturnUrlSend"
									OnServerValidate="CheckSendUrl" ErrorMessage="Feil format på URL."></asp:CustomValidator>
								</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblReturnUrlAbort" runat="server">Retur-URL ved avbryt: </asp:Label></td>
                <td>
                    <asp:TextBox ID="txtReturnUrlAbort" runat="server" Width="400px"></asp:TextBox></td>
                <td>
									&nbsp;<asp:CustomValidator ID="returnUrlAbortValidator" runat="server" ControlToValidate="txtReturnUrlAbort"
									ErrorMessage="Feil format på URL." OnServerValidate="CheckAbortUrl"></asp:CustomValidator>
								</td>
								</tr>
            <tr>
                <td>
                    <asp:Label ID="lblReturnUrlSave" runat="server">Retur-URL ved lagring: </asp:Label></td>
                <td>
                    <asp:TextBox ID="txtReturnUrlSave" runat="server" Width="400px"></asp:TextBox></td>
                <td>
                &nbsp;<asp:CustomValidator ID="returnUrlSaveValidator" runat="server" ControlToValidate="txtReturnUrlSave"
								ErrorMessage="Feil format på URL." OnServerValidate="CheckSaveUrl"></asp:CustomValidator></tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td align="right">
                    <asp:LinkButton ID="lnkBtnSave" runat="server">[Lagre]</asp:LinkButton>
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
