<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="ExcelImporter.ascx.vb" Inherits="WebFoundations.WFWorkflow.Modules.UI.ExcelImporter" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    <script type="text/javascript">
        function confirmReplaceFile(msg) {
            if ($('.file.excel').attr('href')) {
                return confirm(msg);
            } else {
                return true;
            }
        }
    </script>

<div id="wf-excel-importer" class="wf-excel-importer fields no-columns">
    <div class="itemForm">
        <asp:Label ID="lbltexto" runat="server" />
    </div>
    <div class="file-upload">
        <asp:Label runat="server" ID="lblSelectFile" Text="Selecionar arquivo" />
        <telerik:RadAsyncUpload ID="uplFile" UploadedFilesRendering="BelowFileInput" MaxFileInputsCount="1" PersistConfiguration="True" runat="server" onFileUploaded="RadAsyncUpload1_FileUploaded" />
        <asp:Label runat="server" ID="lblErrMsg" ForeColor="Red" />
    </div>
    <section class="actions">
        <asp:Button runat="server" ID="btnOk" Text="OK" />
    </section>
</div>
