<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_detailAL2UDC.ascx.cs" Inherits="GMW.WebUserControls.mod_detailAL2UDC" %>
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="AL,UDC">
  <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
  <EditRowStyle BackColor="#999999" />
  <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
  <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
  <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
  <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
  <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
  <Columns>
    <%-- <asp:TemplateField ShowHeader="False">
            <HeaderTemplate>
                <asp:LinkButton ID="btnReset" runat="server" OnClick="btnReset_Click" CssClass="btn btn-default btn-sm"><i class="fa fa-refresh"></i> <%: traduci("Reset") %></asp:LinkButton>
            </HeaderTemplate>
            <ItemTemplate>
                <asp:LinkButton ID="lbSel" runat="server" CausesValidation="False" CommandName="Select" CssClass="text-success"><i class="fa fa-search btn-sm"></i></asp:LinkButton>
            </ItemTemplate>
        </asp:TemplateField>--%>
    <asp:TemplateField HeaderText="UDC" SortExpression="UDC">
      <ItemTemplate>
        <asp:HyperLink runat="server" ID="hlUDC" NavigateUrl='<%# string.Format("~/SearchMag.aspx?search={0}",Eval("UDC")) %>'><i class="fa fa-search"></i> <%# Eval("UDC") %></asp:HyperLink>
      </ItemTemplate>
    </asp:TemplateField>
    <%--<asp:BoundField DataField="DataCreaz" HeaderText="DataCreaz" SortExpression="DataCreaz" />
        <asp:BoundField DataField="CodSoggetto" HeaderText="CodSoggetto" SortExpression="CodSoggetto" />--%>
  </Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByAL" TypeName="GMW_data.DS_magazzinoTableAdapters.AL2UDCTableAdapter">
  <SelectParameters>
    <asp:SessionParameter DefaultValue="AL" Name="AL" SessionField="AL_sel" Type="String" />
  </SelectParameters>
</asp:ObjectDataSource>
<asp:Label ID="lblNumRec" runat="server" CssClass="didascalia" />
<br />
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
