<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_KS_OkoiCart.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_KS_OkoiCart" %>


<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="OtherItemID,CartID" DataSourceID="ods" Width="100%" CssClass="table table-sm table-striped small textCondens">
    <Columns>
        <asp:TemplateField HeaderText="Other Part" SortExpression="ItemExtCode">
            <ItemTemplate>
                <div class="row">
                    <div class="col-3 text-left">
                        <b>
                            <asp:Label ID="ItemExtCodeLabel" runat="server" Text='<%# Eval("OtherItemExtCode") %>'></asp:Label></b>
                    </div>
                    <div class="col-9 text-right">
                        <asp:Label ID="ItemDescLabel" runat="server" Text='<%# Eval("OtherItemDesc") %>'></asp:Label>
                    </div>
                    <div class="col-6 text-left">
                    </div>
                    <div class="col-3 text-left">
                        <%: traduci("Picked") %><b>
                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("NumPicked") %>'></asp:Label></b>
                    </div>
                    <div class="col-3 text-right">
                        <%: traduci("Total") %>
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("NumItems") %>'></asp:Label>
                    </div>
                </div>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByCartDtmx" TypeName="AppData.DS_AppTableAdapters.OKOI_SumTableAdapter">
    <SelectParameters>
        <asp:ControlParameter ControlID="hfDtmx" DefaultValue="#" Name="CartDtmx" PropertyName="Value" Type="String" />
    </SelectParameters>
</asp:ObjectDataSource>
<asp:HiddenField runat="server" ID="hfDtmx" />