<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/WFAdmin/ModalAdminPage.master" CodeBehind="PopupPreset.aspx.vb" Inherits="WebFoundations.WFWorkflow.UI.PopupPreset" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<asp:Content ContentPlaceHolderID="taghead" runat="server">
    <style type="text/css">
        .rlbButton {
            min-width: 5px;
        }

        .rlbTransferAllTo {
            visibility: hidden !important;
        }
    </style>
</asp:Content>
<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <h1>
        <asp:Label ID="lblTelaItem" runat="server" /></h1>
    <div class="fields">
        <label>
            <asp:Label ID="lblNome" runat="server" />
            <asp:TextBox ID="txtNome" runat="server" MaxLength="40" CssClass="input_geralModulo input-200" />
            <asp:RequiredFieldValidator ID="obrnome" runat="server" Display="Dynamic" ControlToValidate="txtNome" />
        </label>
        <label>
            <asp:CheckBox ID="chkIsDefault" runat="server" />
        </label>
        <label>
            <asp:Label ID="lblShowSections" runat="server" />
            <telerik:RadListBox RenderMode="Lightweight" ID="lstSecoesOut" runat="server" Width="150px" Height="160px"
                AllowTransfer="true" TransferToID="lstSecoesIn" OnClientTransferring="onClientTransferring"
                ShowReorderButtons="false" EnableDragAndDrop="true" />
            <telerik:RadListBox RenderMode="Lightweight" ID="lstSecoesIn" runat="server" Width="150px" Height="160px"
                AllowReorder="true" ShowReorderButtons="false" EnableDragAndDrop="true" />
        </label>
        <label>
            <asp:Label ID="lblAbertura" runat="server" />
        </label>
        <label>
            <asp:CheckBox ID="chkMaximizado" runat="server" />
        </label>
        <label>
            <asp:Label ID="lblPopUpWidth" runat="server" />
            <asp:TextBox ID="txtPopUpWidth" Width="80px" MaxLength="4" runat="server" />
            <asp:RegularExpressionValidator ID="vlPopUpWidth" runat="server" ControlToValidate="txtPopUpWidth" Display="Dynamic" ValidationExpression="\d*"/>
        </label>
        <label>
            <asp:Label ID="lblPopUpHeight" runat="server" />
            <asp:TextBox ID="txtPopUpHeight" Width="80px" MaxLength="4" runat="server" />
            <asp:RegularExpressionValidator ID="vlPopUpHeight" runat="server" ControlToValidate="txtPopUpHeight" Display="Dynamic" ValidationExpression="\d*"/>
        </label>
        <label>
            <asp:Label ID="lblPopUpLeft" runat="server" />
            <asp:TextBox ID="txtPopUpLeft" Width="100px" MaxLength="4" runat="server" />
            <asp:RegularExpressionValidator ID="vlPopUpLeft" runat="server" ControlToValidate="txtPopUpLeft" Display="Dynamic" ValidationExpression="\d*"/>

        </label>
        <label>
            <asp:Label ID="lblPopUpTop" runat="server" />
            <asp:TextBox ID="txtPopUpTop" Width="100px" MaxLength="4" runat="server" />
            <asp:RegularExpressionValidator ID="vlPopUpTop" runat="server" ControlToValidate="txtPopUpTop" Display="Dynamic" ValidationExpression="\d*"/>
        </label>
        <label>
            <asp:CheckBox ID="chkShowTabs" Visible="false" runat="server" />
        </label>
        <label>
            <asp:CheckBox ID="chkShowData" Visible="true" runat="server" />
        </label>
        <label>
            <asp:CheckBox ID="chkIsolateAttachments" Visible="true" runat="server" />
        </label>
        <label>
            <asp:CheckBox ID="chkAttHistory" Visible="true" runat="server" />
        </label>
        <label>
            <asp:CheckBox ID="chkAttGroupTypes" Visible="true" runat="server" />
        </label>
        <div>
            <asp:Label ID="lblattorder" runat="server" />
            <table>
                <tr>
                    <td><asp:RadioButtonList ID="lstattorderfield" runat="server" RepeatColumns="0" RepeatDirection="Horizontal" /></td>
                </tr>
                <tr>
                    <td><asp:RadioButtonList ID="lstattorderdir" runat="server" RepeatDirection="Horizontal" /></td>
                </tr>
            </table>
        </div>        
    </div>
    <section class="actions">
        <asp:Button ID="btnok" runat="server" />
        <input id="btncancel" runat="server" type="button" value="button" onclick="CancelEdit();" />
    </section>
</asp:Content>
