<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/WFContent/Modules/ModuleConfig.master" CodeBehind="Window.aspx.vb" Inherits="WebFoundations.WFPortal.BaseModules.UI.Window1" %>

<%@ Register Assembly="WebFoundations.WFPortal.Controls" Namespace="WebFoundations.WFPortal.Controls.Content" TagPrefix="WFC" %>
<%@ Register Src="~/WFControls/URLPicker.ascx" TagName="URLPicker" TagPrefix="uc2" %>

<asp:Content runat="server" ContentPlaceHolderID="TagHead">
    <style type="text/css">
        .fields .size > input[type=text] {
            width: 5em;
            display:inline-block;
            vertical-align: bottom;
        }

        .size > table.checkbox {
            display: inline-block;
            vertical-align: bottom;
            margin:0;
        }
    </style>
</asp:Content>

<asp:Content runat="server" ContentPlaceHolderID="MainContent">
    <WFC:EditorManager id="EditorManager1" runat="server" />
    <div class="fields">
        <label>
            <asp:label id="lbldescription" runat="server" />
            <asp:textbox id="txtdescription" runat="server" maxlength="80" />
        </label>
        <div>
            <asp:label id="lblurl" runat="server" />
            <uc2:URLPicker id="urlpkURL" runat="server" />
        </div>

        <div class="size">
            <asp:label id="lblwidth" runat="server" />
            <asp:textbox id="txtwidth" runat="server" maxlength="4" />
            <asp:radiobuttonlist id="rblWidth" runat="server" cssclass="checkbox" repeatcolumns="2">
                    <asp:ListItem Selected="True" Value="%">%</asp:ListItem>
                    <asp:ListItem Value="px">px</asp:ListItem>
                </asp:radiobuttonlist>
            <asp:regularexpressionvalidator id="vlwidth" runat="server" validationexpression="\d*" controltovalidate="txtwidth" display="Dynamic" />
        </div>

        <div class="size">
            <asp:label id="lblheight" runat="server" />
            <asp:textbox id="txtheight" runat="server" maxlength="4" />
            <asp:radiobuttonlist id="rblHeight" runat="server" cssclass="checkbox" repeatcolumns="2">
                    <asp:ListItem Selected="True" Value="%">%</asp:ListItem>
                    <asp:ListItem Value="px">px</asp:ListItem>
                </asp:radiobuttonlist>
            <asp:regularexpressionvalidator id="vlheight" runat="server" validationexpression="\d*" controltovalidate="txtheight" display="Dynamic" />
        </div>

        <label>
            <asp:label id="lbllogin" runat="server" />
            <asp:textbox id="txtlogin" runat="server" maxlength="200" />
        </label>
        <label>
            <asp:label id="lblname" runat="server" />
            <asp:textbox id="txtname" runat="server" maxlength="200" />
        </label>
        <label>
            <asp:label id="lblemail" runat="server" />
            <asp:textbox id="txtemail" runat="server" maxlength="200" />
        </label>
    </div>
    <section class="actions">
        <asp:button id="btnok" runat="server" cssclass="button" />
        <input id="btncancel" type="button" class="button" onclick="CancelEdit();" runat="server" />
    </section>
</asp:Content>
