<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_detailUDC_storico.ascx.cs"
    Inherits="GMW.WebUserControls.mod_detailUDC_storico" %>
<div style="border: 2px solid red;">
    <div style="color: Red; font-weight: bold;">
        UDC Eliminato: dati da storico
    </div>
    <asp:DetailsView ID="detView" runat="server" DataSourceID="ods" Height="50px" BackColor="White"
        BorderColor="#999999" BorderStyle="Solid" BorderWidth="2px" CellPadding="3" ForeColor="Black"
        AutoGenerateRows="False" OnDataBound="detView_DataBound" EnableModelValidation="True">
        <RowStyle CssClass="ctrRowStyle" />
        <AlternatingRowStyle CssClass="ctrAltRowStyle" />
        <EditRowStyle CssClass="ctrEditRowStyle" />
        <FooterStyle CssClass="ctrFooter" />
        <PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
        <EmptyDataTemplate>vuoto</EmptyDataTemplate>
        <Fields>
            <asp:BoundField DataField="UDC" HeaderText="UDC" SortExpression="UDC" DataFormatString="<b>{0}</b>"
                HtmlEncode="False" />
            <asp:BoundField DataField="RagSociale" HeaderText="RagSociale" SortExpression="RagSociale" />
            <asp:BoundField DataField="Particolare" HeaderText="Particolare" SortExpression="Particolare"
                DataFormatString="<b>{0}</b>" HtmlEncode="False" />
            <asp:BoundField DataField="DescParticolare" HeaderText="DescParticolare" SortExpression="DescParticolare" />
            <asp:BoundField DataField="DisegnoGrezzo" HeaderText="DisegnoGrezzo" SortExpression="DisegnoGrezzo" />
            <asp:BoundField DataField="Esponente" HeaderText="Esponente" SortExpression="Esponente" />
            <asp:BoundField DataField="DescImpianto" HeaderText="DescImpianto" SortExpression="DescImpianto"
                DataFormatString="<b>{0}</b>" HtmlEncode="False" />
            <asp:BoundField DataField="DataFus" HeaderText="DataFus" SortExpression="DataFus"
                DataFormatString="{0:ddd dd/MM/yyyy}" HtmlEncode="False" />
            <asp:BoundField DataField="TurnoFus" HeaderText="TurnoFus" SortExpression="TurnoFus" />
            <asp:BoundField DataField="CodImballo" HeaderText="CodImballo" SortExpression="CodImballo" />
            <asp:BoundField DataField="Qta" HeaderText="Qta" SortExpression="Qta" DataFormatString="<b>{0}</b>"
                HtmlEncode="False" />
            <asp:BoundField DataField="DescStato" HeaderText="DescStato" SortExpression="DescStato" />
            <asp:BoundField DataField="ModDate" HeaderText="ModDate" SortExpression="ModDate"
                DataFormatString="{0:ddd dd/MM/yyyy HH:mm}" HtmlEncode="False" />
            <asp:BoundField DataField="CodMag" HeaderText="CodMag" SortExpression="CodMag" />
            <asp:BoundField DataField="IdxPosizione" HeaderText="MagLog" SortExpression="IdxPosizione" />
            <asp:BoundField DataField="CodBlocco" HeaderText="CodBlocco" SortExpression="CodBlocco" />
            <asp:BoundField DataField="CodCella" HeaderText="CodCella" SortExpression="CodCella" />
            <asp:BoundField DataField="X" HeaderText="X" SortExpression="X" />
            <asp:BoundField DataField="Y" HeaderText="Y" SortExpression="Y" />
            <asp:BoundField DataField="Z" HeaderText="Z" SortExpression="Z" />
            <asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />
        </Fields>
        <HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
        <EmptyDataRowStyle CssClass="ctrRowStyle" />
    </asp:DetailsView>
    <asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="getStoricoByFullUdc" TypeName="GMW_data.DS_magazzinoTableAdapters.v_UdcDetailTableAdapter">
        <SelectParameters>
            <asp:SessionParameter Name="DataOraFrom" SessionField="_inizio" Type="DateTime" />
            <asp:SessionParameter Name="DataOraTo" SessionField="_fine" Type="DateTime" />
            <asp:SessionParameter Name="UDC" Type="String" SessionField="FullSearchValue" DefaultValue="UUU" />
            <asp:SessionParameter Name="CodCS" Type="String" SessionField="CodCS" DefaultValue="TK" />
        </SelectParameters>
    </asp:ObjectDataSource>
</div>
