87 lines
4.3 KiB
Plaintext
87 lines
4.3 KiB
Plaintext
<%@ Control Language="C#" AutoEventWireup="true" Inherits="XPS.WebUserControls.mod_completate"
|
|
CodeBehind="mod_completate.ascx.cs" %>
|
|
<div class="ctrHeaderPagerGreen">
|
|
<asp:TextBox runat="server" ID="txtDataCorr" Visible="false" Text="..." />
|
|
<asp:Label runat="server" ID="lblCompletate" Width="100%" />
|
|
</div>
|
|
<asp:GridView ID="grViewCompletate" runat="server" AutoGenerateColumns="False" DataKeyNames="Cod"
|
|
DataSourceID="odsCompletate" Font-Size="8pt" Width="100%" ShowFooter="True" OnRowDataBound="grViewCompletate_RowDataBound">
|
|
<RowStyle CssClass="ctrRowStyleGreen" />
|
|
<AlternatingRowStyle CssClass="ctrAltRowStyleGreen" />
|
|
<EditRowStyle CssClass="ctGreenitRowStyleGreen" />
|
|
<SelectedRowStyle CssClass="ctrSelRowStyleGreen" />
|
|
<FooterStyle CssClass="ctrFooterGreen" />
|
|
<PagerStyle CssClass="active GridPager" />
|
|
<PagerSettings Mode="NumericFirstLast" />
|
|
<HeaderStyle CssClass="ctrHeaderPagerGreen" ForeColor="White" Font-Bold="True" />
|
|
<EmptyDataRowStyle CssClass="ctrRowStyleGreen" />
|
|
<EmptyDataTemplate>
|
|
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
|
|
</EmptyDataTemplate>
|
|
<Columns>
|
|
<asp:BoundField DataField="Cliente" HeaderText="Cliente" SortExpression="Cliente"
|
|
ReadOnly="true" ItemStyle-Width="150px">
|
|
<ItemStyle Width="150px"></ItemStyle>
|
|
</asp:BoundField>
|
|
<asp:TemplateField HeaderText="DDT" SortExpression="DDT" ItemStyle-Width="80px">
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label3" runat="server" Text='<%# Bind("DDT") %>' ToolTip='<%# Eval("Cod")%>' />
|
|
</ItemTemplate>
|
|
|
|
<ItemStyle Width="80px"></ItemStyle>
|
|
</asp:TemplateField>
|
|
<asp:BoundField DataField="DataDDT" HeaderText="DataDDT" SortExpression="DataDDT"
|
|
ReadOnly="true" DataFormatString="{0:dd/MM/yy}" ItemStyle-Width="60px">
|
|
<ItemStyle Width="60px"></ItemStyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="CodCli" HeaderText="Ciclo" SortExpression="CodCli" ReadOnly="true"
|
|
ItemStyle-Width="40px">
|
|
<ItemStyle Width="40px"></ItemStyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="Stato" HeaderText="Stato" SortExpression="CodStato" ReadOnly="true"
|
|
ItemStyle-Width="180px">
|
|
<ItemStyle Width="180px"></ItemStyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="descrizione" HeaderText="descrizione" SortExpression="descrizione"
|
|
ReadOnly="true" ItemStyle-Width="120px">
|
|
<ItemStyle Width="120px"></ItemStyle>
|
|
</asp:BoundField>
|
|
<asp:TemplateField HeaderText="Peso" SortExpression="Peso">
|
|
<EditItemTemplate>
|
|
<asp:Label ID="lblPeso" runat="server" Text='<%# Eval("Peso", "{0:N2} kg") %>'></asp:Label>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="lblPeso" runat="server" Text='<%# Bind("Peso", "{0:N2} kg") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
<FooterTemplate>
|
|
<asp:Label ID="lblPesoTot" runat="server" Text="..."></asp:Label>
|
|
</FooterTemplate>
|
|
<ItemStyle Width="60px" />
|
|
</asp:TemplateField>
|
|
<asp:BoundField DataField="Qta" HeaderText="Qta" SortExpression="Qta" ReadOnly="true"
|
|
ItemStyle-Width="30px">
|
|
<ItemStyle Width="30px"></ItemStyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="DataArrivo" HeaderText="DataArrivo" SortExpression="DataArrivo"
|
|
ReadOnly="true" DataFormatString="{0:dd/MM/yy HH:mm}" ItemStyle-Width="100px">
|
|
<ItemStyle Width="100px"></ItemStyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="DataPrevista" HeaderText="DataPrevista" SortExpression="DataPrevista"
|
|
ReadOnly="true" DataFormatString="{0:dd/MM/yy HH:mm}" ItemStyle-Width="100px">
|
|
<ItemStyle Width="100px"></ItemStyle>
|
|
</asp:BoundField>
|
|
</Columns>
|
|
</asp:GridView>
|
|
<asp:ObjectDataSource ID="odsCompletate" runat="server" OldValuesParameterFormatString="original_{0}"
|
|
SelectMethod="getByCodStato" TypeName="XPS_data.DS_applicazioneTableAdapters.v_ULPTableAdapter"
|
|
FilterExpression=" (Cliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ) AND (CodCli = '{1}')">
|
|
<FilterParameters>
|
|
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
|
|
<asp:ControlParameter ControlID="ddlCiclo" Name="Ciclo" PropertyName="SelectedValue"
|
|
Type="String" />
|
|
</FilterParameters>
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="05" Name="CodStato" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|