<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="KitRequestImporter.aspx.cs" Inherits="NKC_WF.KitRequestImporter" %>

<%@ Register Src="~/WebUserControls/cmp_fileUpload.ascx" TagPrefix="uc1" TagName="cmp_fileUpload" %>
<%@ Register Src="~/WebUserControls/cmp_kitList.ascx" TagPrefix="uc1" TagName="cmp_kitList" %>
<%@ Register Src="~/WebUserControls/cmp_kitImpCheck.ascx" TagPrefix="uc1" TagName="cmp_kitImpCheck" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="container">
        <div class="card" style="width: 100%;">
            <div class="card-header">
                <h3><%: traduci("KitManager") %></h3>
            </div>
            <div class="card-body">
                <div class="row">
                    <div class="col-12">
                        <uc1:cmp_fileUpload runat="server" ID="cmp_fileUpload" isWriteEnabled="true" forceRedirect="false" filePrefix="KIT" fileSuffix=".csv" />
                        <hr />
                    </div>
                    <div class="col-12">
                        <asp:UpdatePanel ID="upnlCheck" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                                <uc1:cmp_kitImpCheck runat="server" ID="cmp_kitImpCheck" />
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                    <div class="col-12" runat="server" id="divKitList">
                        <asp:UpdatePanel ID="upnlList" runat="server">
                            <ContentTemplate>
                                <uc1:cmp_kitList runat="server" ID="cmp_kitList" />
                                <asp:Timer ID="Timer1" runat="server" Interval="2000" OnTick="Timer1_Tick"></asp:Timer>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>