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

<div class="fields controls">
    <div>
        <asp:DropDownList ID="lstImages" Width="100%" runat="server"></asp:DropDownList>
    </div>
    <div>
        <WFF:imageupload id="ImageUploader" width="100%" runat="server"></WFF:imageupload>
        <asp:RegularExpressionValidator ID="vlimage" runat="server" ControlToValidate="ImageUploader"  ValidationExpression="^([0-9a-zA-Z_\-~ :\\])+(.jpg|.JPG|.jpeg|.JPEG|.gif|.GIF|.png|.PNG)$" >
        </asp:RegularExpressionValidator>
    </div>
</div>