<%@ Page Title="Search" Language="C#" MasterPageFile="~/FullPage.master" AutoEventWireup="true" CodeBehind="SearchMag.aspx.cs" Inherits="GMW.SearchMag" %>

<%@ Register Src="~/WebUserControls/mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc2" %>
<%@ Register Src="~/WebUserControls/mod_metodiNoSearch.ascx" TagName="mod_metodiNoSearch" TagPrefix="uc3" %>
<%@ Register Src="~/WebUserControls/mod_SearchProvUDC.ascx" TagName="mod_SearchProvUDC" TagPrefix="uc1" %>
<%@ Register Src="~/WebUserControls/mod_SearchProvCelle.ascx" TagName="mod_SearchProvCelle" TagPrefix="uc4" %>
<%@ Register Src="~/WebUserControls/mod_SearchProvParticolari.ascx" TagName="mod_SearchProvParticolari" TagPrefix="uc5" %>
<%@ Register Src="~/WebUserControls/Mod_SearchProvImballi.ascx" TagName="Mod_SearchProvImballi" TagPrefix="uc6" %>
<%@ Register Src="~/WebUserControls/mod_SearchProvAL.ascx" TagName="mod_SearchProvAL" TagPrefix="uc7" %>
<%@ Register Src="~/WebUserControls/mod_SearchProvDtx.ascx" TagName="mod_SearchProvDtx" TagPrefix="uc8" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MCon" runat="server">
  <div class="container-fluid">
    <div class="card text-center">
      <div class="card-header ">
        <div class="row">
          <div class="col-3">
          </div>
          <div class="col-6">
            <div class="input-group">
              <div class="input-group-prepend">
                <span class="input-group-text" id="inputGroup-sizing-lg">
                  <asp:LinkButton runat="server" ID="lbnSearch" OnClick="btnSearch_Click"><i class="fa fa-search"></i> <%: traduci("lbnResearch") %></asp:LinkButton></span>
              </div>
              <asp:TextBox runat="server" ID="txtSearch" OnTextChanged="txtSearch_TextChanged" AccessKey="r" CssClass="form-control" placeholder="..." AutoPostBack="True" />
              <div class="input-group-append">
                <asp:LinkButton runat="server" ID="lnkReset" type="button" class="input-group-text" OnClick="lnkReset_Click" ToolTip="reset"><i class="fa fa-ban fa-lg"></i></asp:LinkButton>

              </div>
            </div>
          </div>
          <div class="col-3">
            <asp:CheckBox runat="server" ID="chkLikeType" class="input-group-text py-0" OnCheckedChanged="chkLikeType_CheckedChanged" AutoPostBack="True" />
          </div>
        </div>
      </div>
      <div class="card-body bg-light text-dark">
        <div class="row small text-center">
          <div class="col">
            <asp:Panel runat="server" ID="pnlResults">
              <div class="row">
                <div class="col-sm-12">
                  <uc5:mod_SearchProvParticolari ID="mod_SearchProvParticolari1" runat="server" />
                </div>
                <div class="col-sm-12">
                  <uc1:mod_SearchProvUDC ID="mod_SearchProvUDC1" runat="server" />
                </div>
                <div class="col-sm-6">
                  <uc7:mod_SearchProvAL ID="mod_SearchProvAL1" runat="server" />
                  &nbsp;
                </div>
                <div class="col-sm-6">
                  <uc8:mod_SearchProvDtx ID="mod_SearchProvDtx1" runat="server" />
                  &nbsp;
                </div>
              </div>
              <%--<br />
                        <uc4:mod_SearchProvCelle ID="mod_SearchProvCelle1" runat="server" />
                        <br />
                            <uc6:Mod_SearchProvImballi ID="Mod_SearchProvImballi1" runat="server" />
              --%>
            </asp:Panel>
            <div class="row" style="text-align: center; margin: auto;">
              <uc3:mod_metodiNoSearch ID="mod_metodiNoSearch1" runat="server" />
            </div>
          </div>
        </div>
      </div>
      <div class="card-footer text-muted">
        <asp:UpdateProgress ID="updtRicerca" runat="server" DisplayAfter="10" DynamicLayout="false">
          <ProgressTemplate>
            <div id="progress_back">
            </div>
            <div id="progress_top">
              searching
              <asp:Image ID="ProgressBar" ImageUrl="~/images/fbloader.gif" runat="server" />
            </div>
          </ProgressTemplate>
        </asp:UpdateProgress>
      </div>
    </div>
  </div>
</asp:Content>
