<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_selLineaNtDt.ascx.cs" Inherits="GMW.WebUserControls.mod_selLineaNtDt" %>
<div style="background-color: #dedede;">
  <div class="row" style="padding: 1px; text-align: center; margin: auto;">
    <div class="col-sm-4">
      <asp:Button runat="server" ID="btnRefresh" Visible="false"></asp:Button>
      <div class="btn-group" style="width: 100%;">
        <asp:LinkButton runat="server" ID="lbtShowHideStorico" class="btn btn-inverse btn-lg" OnClick="btnShowHideStorico_Click" Width="200px"><i class="fa fa-book"></i><%: " " %><asp:Label runat="server" ID="lblShowHideStorico"></asp:Label>&nbsp;</asp:LinkButton>
      </div>
    </div>
    <div class="col-sm-4">
      <asp:Label runat="server" ID="lblPost" AssociatedControlID="ddlLinea" Text="LINEA" />
      <asp:DropDownList ID="ddlLinea" runat="server" AutoPostBack="True" DataSourceID="odsLinea" DataTextField="label" DataValueField="value" OnSelectedIndexChanged="ddlLinea_SelectedIndexChanged" CssClass="btn btn-default dropdown-toggle pad_1e"></asp:DropDownList>
      <asp:ObjectDataSource ID="odsLinea" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByConditioDetail" TypeName="GMW_data.DS_UtilityTableAdapters.v_selLineeTableAdapter">
        <SelectParameters>
          <asp:ControlParameter DefaultValue="W00" Name="conditio" Type="String" ControlID="txtCodBlocco" PropertyName="Text" />
          <asp:ControlParameter DefaultValue="" Name="detail" Type="String" ControlID="txtFormatoDmtx" PropertyName="Text" />
          <asp:ControlParameter DefaultValue="ND" Name="CodFamLinea" Type="String" ControlID="txtCodFam" PropertyName="Text" />
          <asp:ControlParameter DefaultValue="IO" Name="TipoLinea" Type="String" ControlID="txtTipoInOut" PropertyName="Text" />
        </SelectParameters>
      </asp:ObjectDataSource>
      <asp:TextBox runat="server" ID="txtCodBlocco" Visible="false" />
      <asp:TextBox runat="server" ID="txtFormatoDmtx" Visible="false" />
      <asp:TextBox runat="server" ID="txtCodFam" Visible="false" />
      <asp:TextBox runat="server" ID="txtTipoInOut" Visible="false" />
      <asp:TextBox runat="server" ID="txtResetBlocco" Visible="false" />
    </div>
    <div class="col-sm-4">
      <div id="divDtNt" runat="server" class="btn-group" style="width: 100%;">
        <asp:LinkButton runat="server" ID="lbtNT" OnClick="lbtNT_Click" CssClass="btn btn-primary" Width="50%"><i class='<%: cssBtnSx %>'></i> <%: traduci(lemmaSx) %></asp:LinkButton>
        <asp:LinkButton runat="server" ID="lbtDT" OnClick="lbtDT_Click" CssClass="btn btn-primary" Width="50%"><i class='<%: cssBtnDx %>'></i> <%: traduci(lemmaDx) %></asp:LinkButton>
      </div>
    </div>
  </div>
</div>
