<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_detLDP.ascx.cs" Inherits="GMW.WebUserControls.mod_detLDP" %>
<div class="card bg-success small">
    <div class="card-header">
        <b>
            <asp:Label runat="server" ID="Label1"><%: traduci("LDP") %></asp:Label></b>
    </div>
    <div class="card-body bg-light text-dark" style="background-color: #f1f1fa;">
        <asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="CodLista,UDC" DataSourceID="ods" EnableModelValidation="True" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%">
            <AlternatingRowStyle BackColor="#EFF3FB" />
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="White" />
            <EmptyDataTemplate>
                <%: traduci("noRecord") %>
            </EmptyDataTemplate>
            <Columns>
                <asp:BoundField DataField="CodLista" HeaderText="Lista di Prelievo" ReadOnly="True" SortExpression="CodLista" />
                <asp:CheckBoxField DataField="Prelevato" HeaderText="prel." SortExpression="Prelevato" />
            </Columns>
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByUdc" TypeName="GMW_data.DS_magazzinoTableAdapters.RigheListePrelievoTableAdapter">
            <SelectParameters>
                <asp:SessionParameter Name="UDC" Type="String" SessionField="UDC_sel" DefaultValue="UUU" />
            </SelectParameters>
        </asp:ObjectDataSource>

    </div>
</div>
