<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/WFAdmin/ModalAdminPage.master" CodeBehind="Deadline.aspx.vb" Inherits="WebFoundations.WFWorkflow.Modules.UI.Deadline" %>
<%@ Register TagPrefix="wff" Namespace="WebFoundations.WFWorkflow.Services.UI" Assembly="WebFoundations.WFWorkflow.Services" %>
<%@ Register Assembly="WebFoundations.WFWorkflow.Services" Namespace="WebFoundations.WFWorkflow.Services.UI" TagPrefix="LST" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <h1>
    <asp:Label Text="" ID="lblModuleName" runat="server" /></h1>

    <div class="fields">
        <label>
            <asp:Label ID="lblnome" runat="server" />
            <asp:TextBox ID="txtnome" runat="server" MaxLength="50" />
            <asp:RequiredFieldValidator ID="obrnome" runat="server" Display="Dynamic" ControlToValidate="txtnome" />
        </label>
        <label>
            <asp:Label ID="lbletapa" runat="server" />
            <LST:MyList ID="lstetapa" CssClass="select_geralModulo largDesviar" runat="server" />
        </label>
        <label>
            <asp:Label ID="lblprazo" runat="server" />
            <LST:MyList ID="lstprazo" CssClass="select_geralModulo largDesviar" runat="server" />
        </label>
        <label>
            <asp:Label ID="lblPreset" runat="server" />
            <wff:ZuriValuePicker id="ddlContextValue"  ShowZuriProperties="false" ShowPortalProperties="false" ShowActivities="false" width="100%" PagerSize="10" runat="server" />
        </label>
        <label>
            <asp:CheckBox ID="chkrequired" runat="server" />
        </label>
        <label>
            <asp:Button ID="btnadd" runat="server" />
        </label>
        <label>
            <cc1:CascadingDropDown ID="cascadeprazo" runat="server" ParentControlID="lstetapa" Category="Prazos" TargetControlID="lstprazo"></cc1:CascadingDropDown>
            <asp:UpdatePanel ID="pnlitems" runat="server">
                <ContentTemplate>
                    <asp:DataList ID="lstdeadlines" runat="server" Width="100%">
                        <ItemTemplate>
                            <asp:ImageButton ID="btndelete" runat="server" ImageUrl="~/WFResources/Common/Images/Icons/delete.png"></asp:ImageButton>
                            <asp:Label ID="lblitem" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:DataList>
                </ContentTemplate>
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="btnadd" EventName="Click" />
                </Triggers>
            </asp:UpdatePanel>
        </label>
    </div>
    <section class="actions">
        <asp:Button ID="btnok" runat="server" />
        <input id="btncancel" type="button" value="button" runat="server" />
    </section>
</asp:Content>
