<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="Feedback.ascx.vb" Inherits="WebFoundations.WFPortal.BaseModules.UI.Feedback" %>
<%@ Register Namespace="WebFoundations.ServerControls" Assembly="WebFoundations.ServerControls" TagPrefix="wf" %>

<asp:Panel ID="pnlsubjects" runat="server">
    <asp:Repeater ID="repsubjects" runat="server">
        <HeaderTemplate><ul class="wf-feedback-subjects"></HeaderTemplate>
        <ItemTemplate>
            <li class="subject">
                <asp:HyperLink ID="editLink" runat="server"/>
                <asp:ImageButton ID="btndel" runat="server" Visible="true"/>
                <asp:Label ID="lblsubject" runat="server" />
            </li>
        </ItemTemplate>
        <FooterTemplate></ul></FooterTemplate>
    </asp:Repeater>
</asp:Panel>

<asp:UpdatePanel ID="pnlforms" runat="server">
    <ContentTemplate>
    </ContentTemplate>
</asp:UpdatePanel>

<asp:Panel ID="pnlform" DefaultButton="btnsend" runat="server" CssClass="fields wf-feedback">
    <wf:ExtendedPanel ID="pnlsubject" runat="server" tag="label">
        <asp:Label ID="lblsubject" runat="server" CssClass="contPadrao2" />
        <asp:DropDownList ID="lstsubject" runat="server" CssClass="campo_texto3" />
    </wf:ExtendedPanel>

    <label>
        <asp:Label ID="lblname" runat="server" />
        <asp:TextBox ID="txtname" runat="server" />
        <asp:RequiredFieldValidator ID="reqname" runat="server" Display="Dynamic" ControlToValidate="txtname" />
    </label>

    <label>
        <asp:Label ID="lblemail" runat="server" />
        <asp:TextBox ID="txtemail" runat="server" />
        <asp:RequiredFieldValidator ID="reqemail" Display="Dynamic" runat="server" ControlToValidate="txtemail" />
        <asp:RegularExpressionValidator ID="vlemail" runat="server" Display="Dynamic" ControlToValidate="txtemail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" />
    </label>

    <wf:ExtendedPanel ID="pnlfree1" runat="server" tag="label">
        <asp:Label ID="lblfree1" runat="server" />
        <asp:TextBox ID="txtfree1" runat="server" />
        <asp:RequiredFieldValidator ID="reqfree1" runat="server" Display="Dynamic" ControlToValidate="txtfree1" />
    </wf:ExtendedPanel>

    <wf:ExtendedPanel ID="pnlfree2" runat="server" tag="label">
        <asp:Label ID="lblfree2" runat="server" />
        <asp:TextBox ID="txtfree2" runat="server" />
        <asp:RequiredFieldValidator ID="reqfree2" runat="server" Display="Dynamic" ControlToValidate="txtfree2" />
    </wf:ExtendedPanel>

    <label class="message">
        <asp:Label ID="lblmessage" runat="server" />
        <asp:TextBox ID="txtmessage" runat="server" TextMode="MultiLine" />
        <asp:RequiredFieldValidator ID="reqmessage" runat="server" Display="Dynamic" ControlToValidate="txtmessage" />
    </label>

    <section class="actions">
        <asp:Button ID="btnsend" CausesValidation="true" runat="server" />
    </section>
</asp:Panel>
