completato review grafico...
This commit is contained in:
+192
-171
@@ -1,178 +1,199 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" Inherits="XPS.WebUserControls.mod_ULP" Codebehind="mod_ULP.ascx.cs" %>
|
||||
<%@ Control Language="C#" AutoEventWireup="true" Inherits="XPS.WebUserControls.mod_ULP" CodeBehind="mod_ULP.ascx.cs" %>
|
||||
<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %>
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
|
||||
<%@ Register Src="mod_navPath.ascx" TagName="mod_navPath" TagPrefix="uc2" %>
|
||||
<%@ Register Src="mod_logStati.ascx" TagName="mod_logStati" TagPrefix="uc3" %>
|
||||
<asp:Label runat="server" ID="lblULP" CssClass="ctrHeaderPagerDet" Width="150px" />
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataSourceID="ods"
|
||||
DataKeyNames="Cod" AllowPaging="True" AllowSorting="True" OnSelectedIndexChanged="grView_SelectedIndexChanged"
|
||||
OnDataBound="grView_DataBound" OnRowUpdating="grView_RowUpdating" OnRowUpdated="grView_RowUpdated"
|
||||
OnRowDeleted="grView_RowDeleted" Width="100%">
|
||||
<RowStyle CssClass="ctrRowStyleDet" />
|
||||
<AlternatingRowStyle CssClass="ctrAltRowStyleDet" />
|
||||
<EditRowStyle CssClass="ctrEditRowStyleDet" />
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyleDet" />
|
||||
<FooterStyle CssClass="ctrFooterDet" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<HeaderStyle CssClass="ctrHeaderPagerDet" ForeColor="White" Font-Bold="True" />
|
||||
<EmptyDataRowStyle CssClass="ctrRowStyleDet" />
|
||||
<EmptyDataTemplate>
|
||||
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgClona" runat="server" CausesValidation="False" ToolTip='<%# traduci("clonaRow") %>'
|
||||
ImageUrl='<%# imgPath(SteamWare.tipoImg.clona , SteamWare.dimImg.medium) %>' CommandArgument="clonaObj"
|
||||
Visible='<%# userCanEdit(Eval("CodStato")) %>' CommandName="Update" OnClick="imgClonaRow_Click" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="#" SortExpression="Posizione">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Bind("Posizione") %>' ToolTip='<%# Eval("Cod")%>' />
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Eval("Posizione") %>' ToolTip='<%# Eval("Cod")%>' />
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton runat="server" ID="btnPrintScheda" ImageUrl='<%# imgPath(SteamWare.tipoImg.barcodeArancio , SteamWare.dimImg.medium) %>' CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("stampaSchedaIdentificazione") %>'
|
||||
onclick="btnPrintScheda_Click" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Stato" SortExpression="Stato">
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgMostraLogStati" runat="server" CausesValidation="False" CommandName="Select"
|
||||
OnClick="imgMostraLogStati_Click" ToolTip='<%# traduci("MostraLogStati")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.notepad , SteamWare.dimImg.medium) %>' />
|
||||
<asp:Label ID="Label6" runat="server" Text='<%# Bind("Stato") %>' />
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit"
|
||||
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.medium) %>'
|
||||
Visible='<%# userCanEdit(Eval("CodStato")) %>' />
|
||||
<asp:ImageButton ID="imgSchedula" runat="server" CausesValidation="False" CommandName="Select"
|
||||
OnClick="imgSchedula_Click" ToolTip='<%# traduci("SchedulaObjXpsSingle")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica , SteamWare.dimImg.medium) %>'
|
||||
Visible='<%# isSchedulaVisible(Eval("CodStato")) %>' />
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
|
||||
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma , SteamWare.dimImg.medium) %>' />
|
||||
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
|
||||
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.medium) %>' />
|
||||
</EditItemTemplate>
|
||||
<FooterTemplate>
|
||||
<asp:ImageButton ID="imgInsert" runat="server" CausesValidation="False" CommandName="Insert"
|
||||
ToolTip='<%# traduci("Insert") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.nuovo , SteamWare.dimImg.medium) %>'
|
||||
OnClick="lblIns_click" />
|
||||
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
|
||||
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.medium) %>' />
|
||||
</FooterTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="descrizione" SortExpression="descrizione">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("descrizione") %>' Width="30em"
|
||||
TextMode="MultiLine" Rows="5"></asp:TextBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("descrizione") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Peso" SortExpression="Peso">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Peso") %>' Width="5em"></asp:TextBox> Kg
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Peso","{0:N2} Kg") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Qta" SortExpression="Qta">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("Qta") %>' Width="5em"></asp:TextBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label4" runat="server" Text='<%# Bind("Qta") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="DataArrivo" HeaderText="DataArrivo" SortExpression="DataArrivo"
|
||||
ReadOnly="True" DataFormatString="{0:dd/MM/yy HH:mm}" />
|
||||
<asp:TemplateField HeaderText="DataPrevista" SortExpression="DataPrevista">
|
||||
<EditItemTemplate>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Bind("DataPrevista", "{0:dd/MM/yy HH:mm}") %>' />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Bind("DataPrevista", "{0:dd/MM/yy HH:mm}") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
|
||||
ToolTip='<%# traduci("Delete") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina , SteamWare.dimImg.medium) %>'
|
||||
Visible='<%# userCanDel(Eval("CodStato"),Eval("IdxObjMamma"),Eval("Posizione")) %>' />
|
||||
<asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
|
||||
TargetControlID="imgDelete">
|
||||
</asp:ConfirmButtonExtender>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="getByCodMamma" TypeName="XPS_data.DS_applicazioneTableAdapters.v_ULPTableAdapter"
|
||||
DeleteMethod="sp_delRow" UpdateMethod="UpdateQuery">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
</DeleteParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="descrizione" Type="String" />
|
||||
<asp:Parameter Name="Qta" Type="Int32" />
|
||||
<asp:Parameter Name="Peso" Type="Double" />
|
||||
<asp:Parameter Name="DataPrevista" Type="DateTime" />
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
</UpdateParameters>
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="0" Name="CodMamma" SessionField="CodRow_sel"
|
||||
Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" /><br />
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
<asp:Panel ID="pnlSetDueDate" Visible="false" runat="server">
|
||||
<div class="notaMargine">
|
||||
<div style="text-align: center;">
|
||||
<asp:Label runat="server" ID="lblDataPrev" Text="..." /><br />
|
||||
<asp:TextBox ID="txtDueDate" runat="server" Text="..." Width="6em" />
|
||||
<asp:RequiredFieldValidator ID="rfvDueDate" runat="server" ErrorMessage="!!!" ControlToValidate="txtDueDate" />
|
||||
<asp:CalendarExtender ID="ce_DueDate" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDueDate"
|
||||
Format="dd/MM/yyyy">
|
||||
</asp:CalendarExtender>
|
||||
<asp:DropDownList runat="server" ID="ddlOra">
|
||||
<asp:ListItem Value="9">09:00</asp:ListItem>
|
||||
<asp:ListItem Value="14">14:00</asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
<div style="text-align: center;">
|
||||
<asp:Button ID="btnOk" runat="server" Width="100px" OnClick="btnOk_Click" />
|
||||
|
||||
|
||||
<div class="row panel panel-warning" style="margin: .3em;">
|
||||
<div class="panel-heading">
|
||||
<h5>
|
||||
<asp:Label runat="server" ID="lblULP" />
|
||||
</h5>
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<div class="row">
|
||||
<div id="divMain" runat="server" class="col-sm-12">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataSourceID="ods"
|
||||
DataKeyNames="Cod" AllowPaging="True" AllowSorting="True" OnSelectedIndexChanged="grView_SelectedIndexChanged"
|
||||
OnDataBound="grView_DataBound" OnRowUpdating="grView_RowUpdating" OnRowUpdated="grView_RowUpdated"
|
||||
OnRowDeleted="grView_RowDeleted" Width="100%">
|
||||
<RowStyle CssClass="ctrRowStyleDet" />
|
||||
<AlternatingRowStyle CssClass="ctrAltRowStyleDet" />
|
||||
<EditRowStyle CssClass="ctrEditRowStyleDet" />
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyleDet" />
|
||||
<FooterStyle CssClass="ctrFooterDet" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<HeaderStyle CssClass="ctrHeaderPagerDet" ForeColor="White" Font-Bold="True" />
|
||||
<EmptyDataRowStyle CssClass="ctrRowStyleDet" />
|
||||
<EmptyDataTemplate>
|
||||
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgClona" runat="server" CausesValidation="False" ToolTip='<%# traduci("clonaRow") %>'
|
||||
ImageUrl='<%# imgPath(SteamWare.tipoImg.clona , SteamWare.dimImg.medium) %>' CommandArgument="clonaObj"
|
||||
Visible='<%# userCanEdit(Eval("CodStato")) %>' CommandName="Update" OnClick="imgClonaRow_Click" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="#" SortExpression="Posizione">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Bind("Posizione") %>' ToolTip='<%# Eval("Cod")%>' />
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Eval("Posizione") %>' ToolTip='<%# Eval("Cod")%>' />
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<span class="btn btn-xs btn-warning iconBlackRed">
|
||||
<asp:LinkButton runat="server" ID="lbPrintScheda" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("stampaSchedaIdentificazione") %>' OnClick="lbPrintScheda_Click"><i class="fa fa-barcode fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
</span>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Stato" SortExpression="Stato">
|
||||
<ItemTemplate>
|
||||
<div class="clearDiv" style="white-space: nowrap; margin: 0 0.2em; min-width: 8em;">
|
||||
<div class="divSx">
|
||||
<span class="btn btn-xs btn-default iconBluRed">
|
||||
<asp:LinkButton runat="server" ID="lbMostrLogStati" CausesValidation="False" CommandName="Select" OnClick="lbMostraLogStati_Click" ToolTip='<%# traduci("MostraLogStati")%>'><i class="fa fa-history fa-2x" aria-hidden="true"></i></asp:LinkButton></span>
|
||||
</div>
|
||||
<div style="padding: 0 0.1em;">
|
||||
<asp:Label ID="lblStato" runat="server" Text='<%# Eval("Stato") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit"
|
||||
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.medium) %>'
|
||||
Visible='<%# userCanEdit(Eval("CodStato")) %>' />
|
||||
<asp:ImageButton ID="imgSchedula" runat="server" CausesValidation="False" CommandName="Select"
|
||||
OnClick="imgSchedula_Click" ToolTip='<%# traduci("SchedulaObjXpsSingle")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica , SteamWare.dimImg.medium) %>'
|
||||
Visible='<%# isSchedulaVisible(Eval("CodStato")) %>' />
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
|
||||
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma , SteamWare.dimImg.medium) %>' />
|
||||
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
|
||||
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.medium) %>' />
|
||||
</EditItemTemplate>
|
||||
<FooterTemplate>
|
||||
<asp:ImageButton ID="imgInsert" runat="server" CausesValidation="False" CommandName="Insert"
|
||||
ToolTip='<%# traduci("Insert") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.nuovo , SteamWare.dimImg.medium) %>'
|
||||
OnClick="lblIns_click" />
|
||||
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
|
||||
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.medium) %>' />
|
||||
</FooterTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="descrizione" SortExpression="descrizione">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("descrizione") %>' Width="30em"
|
||||
TextMode="MultiLine" Rows="5"></asp:TextBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("descrizione") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Peso" SortExpression="Peso">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Peso") %>' Width="5em"></asp:TextBox> Kg
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Peso","{0:N2} Kg") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Qta" SortExpression="Qta">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("Qta") %>' Width="5em"></asp:TextBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label4" runat="server" Text='<%# Bind("Qta") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="DataArrivo" HeaderText="DataArrivo" SortExpression="DataArrivo"
|
||||
ReadOnly="True" DataFormatString="{0:dd/MM/yy HH:mm}" />
|
||||
<asp:TemplateField HeaderText="DataPrevista" SortExpression="DataPrevista">
|
||||
<EditItemTemplate>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Bind("DataPrevista", "{0:dd/MM/yy HH:mm}") %>' />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Bind("DataPrevista", "{0:dd/MM/yy HH:mm}") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
|
||||
ToolTip='<%# traduci("Delete") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina , SteamWare.dimImg.medium) %>'
|
||||
Visible='<%# userCanDel(Eval("CodStato"),Eval("IdxObjMamma"),Eval("Posizione")) %>' />
|
||||
<asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
|
||||
TargetControlID="imgDelete"></asp:ConfirmButtonExtender>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="getByCodMamma" TypeName="XPS_data.DS_applicazioneTableAdapters.v_ULPTableAdapter"
|
||||
DeleteMethod="sp_delRow" UpdateMethod="UpdateQuery">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
</DeleteParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="descrizione" Type="String" />
|
||||
<asp:Parameter Name="Qta" Type="Int32" />
|
||||
<asp:Parameter Name="Peso" Type="Double" />
|
||||
<asp:Parameter Name="DataPrevista" Type="DateTime" />
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
</UpdateParameters>
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="0" Name="CodMamma" SessionField="CodRow_sel"
|
||||
Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" /><br />
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
</div>
|
||||
<div id="divDet" runat="server" class="col-sm-0">
|
||||
<asp:Panel ID="pnlSetDueDate" Visible="false" runat="server">
|
||||
<div class="notaMargine">
|
||||
<div style="text-align: center;">
|
||||
<asp:Label runat="server" ID="lblDataPrev" Text="..." /><br />
|
||||
<asp:TextBox ID="txtDueDate" runat="server" Text="..." Width="6em" />
|
||||
<asp:RequiredFieldValidator ID="rfvDueDate" runat="server" ErrorMessage="!!!" ControlToValidate="txtDueDate" />
|
||||
<asp:CalendarExtender ID="ce_DueDate" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDueDate"
|
||||
Format="dd/MM/yyyy"></asp:CalendarExtender>
|
||||
<asp:DropDownList runat="server" ID="ddlOra">
|
||||
<asp:ListItem Value="9">09:00</asp:ListItem>
|
||||
<asp:ListItem Value="14">14:00</asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
<div style="text-align: center;">
|
||||
<asp:Button ID="btnOk" runat="server" Width="100px" OnClick="btnOk_Click" />
|
||||
|
||||
<asp:Button ID="btnCancel" runat="server" Width="100px" OnClick="btnCancel_Click" />
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel ID="pnlSetAllSched" Visible="false" runat="server">
|
||||
<div style="text-align: center;">
|
||||
<asp:Button ID="btnAllSched" runat="server" Width="250px" OnClick="btnAllSched_Click" />
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel ID="pnlLogStati" Visible="false" runat="server">
|
||||
<uc3:mod_logStati ID="mod_logStati1" runat="server" />
|
||||
</asp:Panel>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel ID="pnlSetAllSched" Visible="false" runat="server">
|
||||
<div style="text-align: center;">
|
||||
<asp:Button ID="btnAllSched" runat="server" Width="250px" OnClick="btnAllSched_Click" />
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel ID="pnlLogStati" Visible="false" runat="server">
|
||||
<uc3:mod_logStati ID="mod_logStati1" runat="server" />
|
||||
</asp:Panel>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -144,6 +144,16 @@ namespace XPS.WebUserControls
|
||||
{
|
||||
traduciObj();
|
||||
}
|
||||
mod_logStati1.eh_reset += Mod_logStati1_eh_reset;
|
||||
}
|
||||
|
||||
private void Mod_logStati1_eh_reset(object sender, EventArgs e)
|
||||
{
|
||||
pnlLogStati.Visible = false;
|
||||
showDetailPnl(false);
|
||||
// resetto grView
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -344,7 +354,7 @@ namespace XPS.WebUserControls
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void imgMostraLogStati_Click(object sender, ImageClickEventArgs e)
|
||||
protected void lbMostraLogStati_Click(object sender, EventArgs e)
|
||||
{
|
||||
SteamWare.memLayer.ML.setSessionVal("nextObjCommand", "mostraLog");
|
||||
}
|
||||
@@ -366,11 +376,13 @@ namespace XPS.WebUserControls
|
||||
case "schedulaObj": // non è vero select ma un show del log di cambio stato
|
||||
pnlSetDueDate.Visible = true;
|
||||
pnlLogStati.Visible = false;
|
||||
showDetailPnl(true);
|
||||
break;
|
||||
case "mostraLog": // non è vero select ma un show del log di cambio stato
|
||||
pnlSetDueDate.Visible = false;
|
||||
pnlLogStati.Visible = true;
|
||||
mod_logStati1.idxObj = grView.SelectedValue.ToString();
|
||||
showDetailPnl(true);
|
||||
break;
|
||||
default: // è select...
|
||||
// salvo in session il valore selezionato...
|
||||
@@ -384,6 +396,25 @@ namespace XPS.WebUserControls
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Imposta classi css x mostrare o meno panel dettaglio
|
||||
/// </summary>
|
||||
/// <param name="doShow"></param>
|
||||
private void showDetailPnl(bool doShow)
|
||||
{
|
||||
divMain.Attributes.Remove("class");
|
||||
divDet.Attributes.Remove("class");
|
||||
if (doShow)
|
||||
{
|
||||
divMain.Attributes.Add("class", "col-sm-10");
|
||||
divDet.Attributes.Add("class", "col-sm-2");
|
||||
}
|
||||
else
|
||||
{
|
||||
divMain.Attributes.Add("class", "col-sm-12");
|
||||
divDet.Attributes.Add("class", "col-sm-0");
|
||||
}
|
||||
}
|
||||
protected void btnOk_Click(object sender, EventArgs e)
|
||||
{
|
||||
// significa che mi chiedono di impostare la data a tutti i child...
|
||||
@@ -396,6 +427,7 @@ namespace XPS.WebUserControls
|
||||
protected void btnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
pnlSetDueDate.Visible = false;
|
||||
showDetailPnl(true);
|
||||
resetSelezione();
|
||||
}
|
||||
/// <summary>
|
||||
@@ -427,6 +459,7 @@ namespace XPS.WebUserControls
|
||||
{
|
||||
// nascondo i vari controlli...
|
||||
pnlSetDueDate.Visible = false;
|
||||
showDetailPnl(true);
|
||||
setupControlli();
|
||||
resetSelezione();
|
||||
if (eh_nuovoValore != null)
|
||||
@@ -447,11 +480,11 @@ namespace XPS.WebUserControls
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnPrintScheda_Click(object sender, ImageClickEventArgs e)
|
||||
protected void lbPrintScheda_Click(object sender, EventArgs e)
|
||||
{
|
||||
ImageButton imgBtn = (ImageButton)sender;
|
||||
LinkButton lnkBtn = (LinkButton)sender;
|
||||
// stampo!
|
||||
reportPrinter.obj.printReport(reportRichiesto.SchedaIdentificazione, memLayer.ML.confReadString("printerSchedaIdentificazione"), imgBtn.CommandArgument);
|
||||
reportPrinter.obj.printReport(reportRichiesto.SchedaIdentificazione, memLayer.ML.confReadString("printerSchedaIdentificazione"), lnkBtn.CommandArgument);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
+18
@@ -21,6 +21,15 @@ namespace XPS.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblULP;
|
||||
|
||||
/// <summary>
|
||||
/// divMain control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divMain;
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
@@ -57,6 +66,15 @@ namespace XPS.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblWarning;
|
||||
|
||||
/// <summary>
|
||||
/// divDet control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDet;
|
||||
|
||||
/// <summary>
|
||||
/// pnlSetDueDate control.
|
||||
/// </summary>
|
||||
|
||||
@@ -4,120 +4,150 @@
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
|
||||
<%@ Register Src="mod_navPath.ascx" TagName="mod_navPath" TagPrefix="uc2" %>
|
||||
<%@ Register Src="mod_logStati.ascx" TagName="mod_logStati" TagPrefix="uc3" %>
|
||||
<div class="navBar">
|
||||
<div class="navBar" style="margin: .3em;">
|
||||
<uc2:mod_navPath ID="mod_navPath1" runat="server" EnableViewState="true" separatore=">" />
|
||||
</div>
|
||||
<asp:Panel ID="pnlLogStati" Visible="false" runat="server">
|
||||
<uc3:mod_logStati ID="mod_logStati1" runat="server" />
|
||||
</asp:Panel>
|
||||
<asp:Label runat="server" ID="lblRowsDDT" CssClass="ctrHeaderPager" Width="150px" />
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataSourceID="ods"
|
||||
DataKeyNames="Cod" AllowPaging="True" AllowSorting="True" OnSelectedIndexChanged="grView_SelectedIndexChanged"
|
||||
OnDataBound="grView_DataBound" OnRowUpdating="grView_RowUpdating" Width="100%">
|
||||
<RowStyle CssClass="ctrRowStyle" />
|
||||
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
|
||||
<EditRowStyle CssClass="ctrEditRowStyle" />
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyle" />
|
||||
<FooterStyle CssClass="ctrFooter" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
|
||||
<EmptyDataRowStyle CssClass="ctrRowStyle" />
|
||||
<EmptyDataTemplate>
|
||||
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbReset" runat="server" OnClick="btnReset_Click" CssClass="styleBtnComposito">
|
||||
<i class="fa fa-refresh fa-2x" aria-hidden="true"></i>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# traduci("Reset") %>' />
|
||||
</asp:LinkButton></HeaderTemplate><ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbSelect" CssClass="btn btn-xs btn-default iconBluGreen" CausesValidation="False" CommandName="Select" ToolTip='<%# traduci("Select") %>'><i class="fa fa-search fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ImageButton ID="imgClona" runat="server" CausesValidation="False" ToolTip='<%# traduci("clonaRow") %>'
|
||||
ImageUrl='<%# imgPath(SteamWare.tipoImg.clona , SteamWare.dimImg.medium) %>'
|
||||
CommandArgument="clonaObj" CommandName="Update" OnClick="imgClonaRow_Click" Visible='<%# isAccettVisible(Eval("CodStato")) %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="DDT" SortExpression="DDT">
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Bind("DDT") %>' ToolTip='<%# Eval("Cod")%>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="Posizione" HeaderText="Riga" SortExpression="Posizione"
|
||||
ReadOnly="True" />
|
||||
<asp:TemplateField HeaderText="Stato" SortExpression="Stato" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgMostraLogStati" runat="server" CausesValidation="False" CommandName="Select"
|
||||
OnClick="imgMostraLogStati_Click" ToolTip='<%# traduci("MostraLogStati")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.notepad , SteamWare.dimImg.medium) %>' />
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Stato") %>' />
|
||||
<div style="font-size: smaller; color: #57aa57;">
|
||||
--> <asp:Label ID="Label4" runat="server" Text='<%# Bind("maxStato") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit"
|
||||
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.medium) %>'
|
||||
Visible='<%# isAccettVisible(Eval("CodStato")) %>' />
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
|
||||
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma , SteamWare.dimImg.medium) %>' />
|
||||
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
|
||||
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.medium) %>' />
|
||||
</EditItemTemplate>
|
||||
<FooterTemplate>
|
||||
<asp:ImageButton ID="imgInsert" runat="server" CausesValidation="False" CommandName="Insert"
|
||||
ToolTip='<%# traduci("Insert") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.nuovo , SteamWare.dimImg.medium) %>'
|
||||
OnClick="lblIns_click" />
|
||||
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
|
||||
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.medium) %>' />
|
||||
</FooterTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="descrizione" SortExpression="descrizione">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("descrizione") %>' Width="30em"
|
||||
TextMode="MultiLine" Rows="5"></asp:TextBox></EditItemTemplate><ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("descrizione") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="Peso" HeaderText="Peso" SortExpression="Peso" ReadOnly="True"
|
||||
DataFormatString="{0:N2} kg" />
|
||||
<asp:BoundField DataField="Qta" HeaderText="Qta" SortExpression="Qta" ReadOnly="True" />
|
||||
<asp:BoundField DataField="Colli" HeaderText="Colli" SortExpression="Colli" ReadOnly="True" />
|
||||
<asp:BoundField DataField="DataArrivo" HeaderText="DataArrivo" SortExpression="DataArrivo"
|
||||
ReadOnly="True" DataFormatString="{0:dd/MM/yy HH:mm}" />
|
||||
<asp:BoundField DataField="DataPrevista" HeaderText="DataPrevista" SortExpression="DataPrevista"
|
||||
ReadOnly="True" DataFormatString="{0:dd/MM/yy HH:mm}" />
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
|
||||
ToolTip='<%# traduci("Delete") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina , SteamWare.dimImg.medium) %>'
|
||||
Visible='<%# userCanDel(Eval("CodStato"),Eval("IdxObjMamma"),Eval("Posizione")) %>' />
|
||||
<asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
|
||||
TargetControlID="imgDelete"></asp:ConfirmButtonExtender></ItemTemplate></asp:TemplateField></Columns></asp:GridView><asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="getByCodMamma" TypeName="XPS_data.DS_applicazioneTableAdapters.v_righeTableAdapter"
|
||||
DeleteMethod="sp_delRow" UpdateMethod="UpdateQuery" OnDeleted="ods_Deleted">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
</DeleteParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="descrizione" Type="String" />
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
</UpdateParameters>
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="0" Name="CodMamma" SessionField="CodDDT_sel"
|
||||
Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" /><br />
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
|
||||
<div class="row panel panel-info" style="margin: .3em;">
|
||||
<div class="panel-heading">
|
||||
<h5>
|
||||
<asp:Label runat="server" ID="lblRowsDDT" />
|
||||
</h5>
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<div class="row">
|
||||
<div id="divMain" runat="server" class="col-sm-12">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataSourceID="ods"
|
||||
DataKeyNames="Cod" AllowPaging="True" AllowSorting="True" OnSelectedIndexChanged="grView_SelectedIndexChanged"
|
||||
OnDataBound="grView_DataBound" OnRowUpdating="grView_RowUpdating" Width="100%">
|
||||
<RowStyle CssClass="ctrRowStyle" />
|
||||
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
|
||||
<EditRowStyle CssClass="ctrEditRowStyle" />
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyle" />
|
||||
<FooterStyle CssClass="ctrFooter" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
|
||||
<EmptyDataRowStyle CssClass="ctrRowStyle" />
|
||||
<EmptyDataTemplate>
|
||||
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbReset" runat="server" OnClick="btnReset_Click" CssClass="styleBtnComposito">
|
||||
<i class="fa fa-refresh fa-2x" aria-hidden="true"></i>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# traduci("Reset") %>' />
|
||||
</asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbSelect" CssClass="btn btn-xs btn-default iconBluGreen" CausesValidation="False" CommandName="Select" ToolTip='<%# traduci("Select") %>'><i class="fa fa-search fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ImageButton ID="imgClona" runat="server" CausesValidation="False" ToolTip='<%# traduci("clonaRow") %>'
|
||||
ImageUrl='<%# imgPath(SteamWare.tipoImg.clona , SteamWare.dimImg.medium) %>'
|
||||
CommandArgument="clonaObj" CommandName="Update" OnClick="imgClonaRow_Click" Visible='<%# isAccettVisible(Eval("CodStato")) %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="DDT" SortExpression="DDT">
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Bind("DDT") %>' ToolTip='<%# Eval("Cod")%>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="Posizione" HeaderText="Riga" SortExpression="Posizione"
|
||||
ReadOnly="True" />
|
||||
<asp:TemplateField HeaderText="Stato" SortExpression="Stato" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<div class="clearDiv" style="white-space: nowrap; margin: 0 0.2em; min-width: 8em;">
|
||||
<div class="divSx">
|
||||
<span class="btn btn-xs btn-default iconBluRed">
|
||||
<asp:LinkButton runat="server" ID="lbMostrLogStati" CausesValidation="False" CommandName="Select" OnClick="lbMostraLogStati_Click" ToolTip='<%# traduci("MostraLogStati")%>'><i class="fa fa-history fa-2x" aria-hidden="true"></i></asp:LinkButton></span>
|
||||
</div>
|
||||
<div style="padding: 0 0.1em;">
|
||||
<asp:Label ID="lblStato" runat="server" Text='<%# Eval("Stato") %>' />
|
||||
<div style="font-size: smaller; color: #57aa57; white-space: nowrap;">
|
||||
<asp:Label ID="lblMaxStato" runat="server" Text='<%# Eval("maxStato", "--> {0}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit"
|
||||
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.medium) %>'
|
||||
Visible='<%# isAccettVisible(Eval("CodStato")) %>' />
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
|
||||
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma , SteamWare.dimImg.medium) %>' />
|
||||
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
|
||||
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.medium) %>' />
|
||||
</EditItemTemplate>
|
||||
<FooterTemplate>
|
||||
<asp:ImageButton ID="imgInsert" runat="server" CausesValidation="False" CommandName="Insert"
|
||||
ToolTip='<%# traduci("Insert") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.nuovo , SteamWare.dimImg.medium) %>'
|
||||
OnClick="lblIns_click" />
|
||||
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
|
||||
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.medium) %>' />
|
||||
</FooterTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="descrizione" SortExpression="descrizione">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("descrizione") %>' Width="30em"
|
||||
TextMode="MultiLine" Rows="5"></asp:TextBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("descrizione") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="Peso" HeaderText="Peso" SortExpression="Peso" ReadOnly="True"
|
||||
DataFormatString="{0:N2} kg" />
|
||||
<asp:BoundField DataField="Qta" HeaderText="Qta" SortExpression="Qta" ReadOnly="True" />
|
||||
<asp:BoundField DataField="Colli" HeaderText="Colli" SortExpression="Colli" ReadOnly="True" />
|
||||
<asp:BoundField DataField="DataArrivo" HeaderText="DataArrivo" SortExpression="DataArrivo"
|
||||
ReadOnly="True" DataFormatString="{0:dd/MM/yy HH:mm}" />
|
||||
<asp:BoundField DataField="DataPrevista" HeaderText="DataPrevista" SortExpression="DataPrevista"
|
||||
ReadOnly="True" DataFormatString="{0:dd/MM/yy HH:mm}" />
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
|
||||
ToolTip='<%# traduci("Delete") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina , SteamWare.dimImg.medium) %>'
|
||||
Visible='<%# userCanDel(Eval("CodStato"),Eval("IdxObjMamma"),Eval("Posizione")) %>' />
|
||||
<asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
|
||||
TargetControlID="imgDelete"></asp:ConfirmButtonExtender>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="getByCodMamma" TypeName="XPS_data.DS_applicazioneTableAdapters.v_righeTableAdapter"
|
||||
DeleteMethod="sp_delRow" UpdateMethod="UpdateQuery" OnDeleted="ods_Deleted">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
</DeleteParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="descrizione" Type="String" />
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
</UpdateParameters>
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="0" Name="CodMamma" SessionField="CodDDT_sel"
|
||||
Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" /><br />
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
</div>
|
||||
<div id="divDet" runat="server" class="col-sm-0">
|
||||
<asp:Panel ID="pnlLogStati" Visible="false" runat="server">
|
||||
<uc3:mod_logStati ID="mod_logStati1" runat="server" />
|
||||
</asp:Panel>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -143,6 +143,29 @@ namespace XPS.WebUserControls
|
||||
void mod_logStati1_eh_reset(object sender, EventArgs e)
|
||||
{
|
||||
pnlLogStati.Visible = false;
|
||||
showDetailPnl(false);
|
||||
// resetto grView
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
}
|
||||
/// <summary>
|
||||
/// Imposta classi css x mostrare o meno panel dettaglio
|
||||
/// </summary>
|
||||
/// <param name="doShow"></param>
|
||||
private void showDetailPnl(bool doShow)
|
||||
{
|
||||
divMain.Attributes.Remove("class");
|
||||
divDet.Attributes.Remove("class");
|
||||
if (doShow)
|
||||
{
|
||||
divMain.Attributes.Add("class", "col-sm-10");
|
||||
divDet.Attributes.Add("class", "col-sm-2");
|
||||
}
|
||||
else
|
||||
{
|
||||
divMain.Attributes.Add("class", "col-sm-12");
|
||||
divDet.Attributes.Add("class", "col-sm-0");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// aggiorno navbar
|
||||
@@ -230,20 +253,13 @@ namespace XPS.WebUserControls
|
||||
{
|
||||
grView.FooterRow.Visible = true;
|
||||
}
|
||||
#if false
|
||||
// sollevo evento nuovo valore...
|
||||
if (eh_nuovoValore != null)
|
||||
{
|
||||
eh_nuovoValore(this, new EventArgs());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// salvo in session che il prox comando è clonare...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void imgMostraLogStati_Click(object sender, ImageClickEventArgs e)
|
||||
protected void lbMostraLogStati_Click(object sender, EventArgs e)
|
||||
{
|
||||
SteamWare.memLayer.ML.setSessionVal("nextObjCommand", "mostraLog");
|
||||
}
|
||||
@@ -266,6 +282,7 @@ namespace XPS.WebUserControls
|
||||
case "mostraLog": // non è vero select ma un show del log di cambio stato
|
||||
pnlLogStati.Visible = true;
|
||||
mod_logStati1.idxObj = grView.SelectedValue.ToString();
|
||||
showDetailPnl(true);
|
||||
break;
|
||||
default: // è select...
|
||||
// salvo in session il valore selezionato...
|
||||
|
||||
+36
-18
@@ -21,24 +21,6 @@ namespace XPS.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::XPS.WebUserControls.mod_navPath mod_navPath1;
|
||||
|
||||
/// <summary>
|
||||
/// pnlLogStati control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlLogStati;
|
||||
|
||||
/// <summary>
|
||||
/// mod_logStati1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::XPS.WebUserControls.mod_logStati mod_logStati1;
|
||||
|
||||
/// <summary>
|
||||
/// lblRowsDDT control.
|
||||
/// </summary>
|
||||
@@ -48,6 +30,15 @@ namespace XPS.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblRowsDDT;
|
||||
|
||||
/// <summary>
|
||||
/// divMain control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divMain;
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
@@ -83,5 +74,32 @@ namespace XPS.WebUserControls {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblWarning;
|
||||
|
||||
/// <summary>
|
||||
/// divDet control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDet;
|
||||
|
||||
/// <summary>
|
||||
/// pnlLogStati control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlLogStati;
|
||||
|
||||
/// <summary>
|
||||
/// mod_logStati1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::XPS.WebUserControls.mod_logStati mod_logStati1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,9 @@
|
||||
<span style="float: right;">
|
||||
<asp:LinkButton ID="btnShowNew" runat="server" OnClick="btnShowNew_Click" CssClass="styleBtnComposito" CausesValidation="false">
|
||||
<asp:Label ID="lblReset" runat="server" Text="..." />
|
||||
</asp:LinkButton></span></div><div class="col-xs-12">
|
||||
</asp:LinkButton></span>
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<asp:Panel ID="pnlNew" runat="server" Visible="false" BackColor="#CCCCFF">
|
||||
<table>
|
||||
<tr>
|
||||
@@ -67,7 +69,9 @@
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="txtDataDDT" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="rfvDataDDT" runat="server" ErrorMessage="!!!" ControlToValidate="txtDataDDT" />
|
||||
<asp:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDataDDT" Format="dd/MM/yyyy"></asp:CalendarExtender></td><td colspan="2">
|
||||
<asp:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDataDDT" Format="dd/MM/yyyy"></asp:CalendarExtender>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<asp:Label ID="lblEmailNotifica" runat="server" />
|
||||
<asp:CheckBox runat="server" ID="chkReqEmail" Checked="false" />
|
||||
</td>
|
||||
@@ -89,11 +93,21 @@
|
||||
<asp:Label runat="server" ID="lblDataPrev" Text="..." /><br />
|
||||
<asp:TextBox ID="txtDueDate" runat="server" Text="..." Width="6em" Font-Size="18pt" />
|
||||
<asp:RequiredFieldValidator ID="rfvDueDate" runat="server" ErrorMessage="!!!" ControlToValidate="txtDueDate" />
|
||||
<asp:CalendarExtender ID="ce_DueDate" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDueDate" Format="dd/MM/yyyy"></asp:CalendarExtender><asp:DropDownList runat="server" ID="ddlOra">
|
||||
<asp:ListItem Value="9">09:00</asp:ListItem><asp:ListItem Value="14">14:00</asp:ListItem></asp:DropDownList></div><div style="text-align: center;">
|
||||
<asp:CalendarExtender ID="ce_DueDate" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDueDate" Format="dd/MM/yyyy"></asp:CalendarExtender>
|
||||
<asp:DropDownList runat="server" ID="ddlOra">
|
||||
<asp:ListItem Value="9">09:00</asp:ListItem>
|
||||
<asp:ListItem Value="14">14:00</asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
<div style="text-align: center;">
|
||||
<asp:Button ID="btnOk" runat="server" Width="100px" OnClick="btnOk_Click" />
|
||||
<asp:Button ID="btnCancel" runat="server" Width="100px" OnClick="btnCancel_Click" />
|
||||
<asp:ConfirmButtonExtender ID="cbeOkDueDate" runat="server" ConfirmText="..." TargetControlID="btnOk"></asp:ConfirmButtonExtender></div></div></asp:Panel><asp:Panel ID="pnlCambiaStato" Visible="false" runat="server">
|
||||
|
||||
<asp:Button ID="btnCancel" runat="server" Width="100px" OnClick="btnCancel_Click" />
|
||||
<asp:ConfirmButtonExtender ID="cbeOkDueDate" runat="server" ConfirmText="..." TargetControlID="btnOk"></asp:ConfirmButtonExtender>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel ID="pnlCambiaStato" Visible="false" runat="server">
|
||||
<div class="notaMargine">
|
||||
<div style="text-align: center;">
|
||||
<asp:Label runat="server" ID="lblImpostaStato" Text="..." /><br />
|
||||
@@ -108,8 +122,13 @@
|
||||
</div>
|
||||
<div style="text-align: center;">
|
||||
<asp:Button ID="btnOkStati" runat="server" Width="100px" OnClick="btnOkStati_Click" />
|
||||
<asp:Button ID="btnCancelStati" runat="server" Width="100px" OnClick="btnCancelStati_Click" />
|
||||
<asp:ConfirmButtonExtender ID="cbeOkStati" runat="server" ConfirmText="..." TargetControlID="btnOkStati"></asp:ConfirmButtonExtender></div></div></asp:Panel><asp:Panel ID="pnlLogStati" Visible="false" runat="server">
|
||||
|
||||
<asp:Button ID="btnCancelStati" runat="server" Width="100px" OnClick="btnCancelStati_Click" />
|
||||
<asp:ConfirmButtonExtender ID="cbeOkStati" runat="server" ConfirmText="..." TargetControlID="btnOkStati"></asp:ConfirmButtonExtender>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel ID="pnlLogStati" Visible="false" runat="server">
|
||||
<uc2:mod_logStati ID="mod_logStati1" runat="server" />
|
||||
</asp:Panel>
|
||||
</div>
|
||||
@@ -133,7 +152,9 @@
|
||||
<asp:LinkButton ID="btnReset" runat="server" OnClick="btnReset_Click" CssClass="styleBtnComposito" Visible="false">
|
||||
<i class="fa fa-refresh fa-2x" aria-hidden="true"></i>
|
||||
<asp:Label ID="lblReset" runat="server" Text='<%# traduci("Reset") %>' />
|
||||
</asp:LinkButton></HeaderTemplate><ItemTemplate>
|
||||
</asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<div style="white-space: nowrap;">
|
||||
<asp:LinkButton runat="server" ID="lbSelect" CssClass="btn btn-xs btn-default iconBluGreen" CausesValidation="False" CommandName="Select" ToolTip='<%# traduci("Select") %>'><i class="fa fa-search fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lbSetStato" CssClass="btn btn-xs btn-default iconBluRed" CausesValidation="False" CommandName="Select" OnClick="lbSetStato_Click" ToolTip='<%# traduci("setStatoObjXps")%>' Visible='<%# isSetStatoVisible(Eval("CodStato")) %>'><i class="fa fa-magic fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
@@ -167,14 +188,22 @@
|
||||
<asp:Label ID="lblDataDDT" runat="server" Text='<%# Eval("DataDDT", "{0:dd/MM/yy}") %>' />
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
num: <asp:TextBox ID="txtNumDDT" runat="server" Text='<%# Bind("DDT") %>' Width="5em" />
|
||||
num:
|
||||
<asp:TextBox ID="txtNumDDT" runat="server" Text='<%# Bind("DDT") %>' Width="5em" />
|
||||
<br />
|
||||
del: <asp:TextBox ID="txtDataDDT" runat="server" Text='<%# Bind("DataDDT", "{0:dd/MM/yy}") %>' Width="6em" />
|
||||
del:
|
||||
<asp:TextBox ID="txtDataDDT" runat="server" Text='<%# Bind("DataDDT", "{0:dd/MM/yy}") %>' Width="6em" />
|
||||
<asp:RequiredFieldValidator ID="rfvDataDDT" runat="server" ErrorMessage="!!!" ControlToValidate="txtDataDDT" />
|
||||
<asp:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDataDDT" Format="dd/MM/yyyy"></asp:CalendarExtender></EditItemTemplate></asp:TemplateField><asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
|
||||
<asp:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDataDDT" Format="dd/MM/yyyy"></asp:CalendarExtender>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<span class="btn btn-xs btn-default iconBlackRed">
|
||||
<asp:LinkButton runat="server" ID="lbPrintScheda" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("stampaBarcode") %>' OnClick="lbPrintScheda_Click"><i class="fa fa-barcode fa-2x" aria-hidden="true"></i></asp:LinkButton></span></ItemTemplate></asp:TemplateField><asp:TemplateField HeaderText="Ciclo" SortExpression="Ciclo">
|
||||
<asp:LinkButton runat="server" ID="lbPrintScheda" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("stampaBarcode") %>' OnClick="lbPrintScheda_Click"><i class="fa fa-barcode fa-2x" aria-hidden="true"></i></asp:LinkButton></span>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Ciclo" SortExpression="Ciclo">
|
||||
<EditItemTemplate>
|
||||
<asp:DropDownList runat="server" ID="ddlCiclo" DataSourceID="odsValLav" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("Ciclo") %>' />
|
||||
</EditItemTemplate>
|
||||
@@ -187,7 +216,9 @@
|
||||
<div class="clearDiv" style="white-space: nowrap; margin: 0 0.2em; min-width: 8em;">
|
||||
<div class="divSx">
|
||||
<span class="btn btn-xs btn-default iconBluRed">
|
||||
<asp:LinkButton runat="server" ID="lbMostrLogStati" CausesValidation="False" CommandName="Select" OnClick="lbMostraLogStati_Click" ToolTip='<%# traduci("MostraLogStati")%>'><i class="fa fa-history fa-2x" aria-hidden="true"></i></asp:LinkButton></span></div><div class="divDx">
|
||||
<asp:LinkButton runat="server" ID="lbMostrLogStati" CausesValidation="False" CommandName="Select" OnClick="lbMostraLogStati_Click" ToolTip='<%# traduci("MostraLogStati")%>'><i class="fa fa-history fa-2x" aria-hidden="true"></i></asp:LinkButton></span>
|
||||
</div>
|
||||
<div class="divDx">
|
||||
<asp:Image runat="server" ID="imgSemaforo" Visible='<%# isSemaforoVisibile(Eval("minCodStato"),Eval("maxCodStato")) %>' ImageUrl='<%# immagineDaStato(Eval("minCodStato"),Eval("maxCodStato")) %>' ToolTip='<%# toolTipDaStato(Eval("minCodStato"),Eval("maxCodStato")) %>' />
|
||||
</div>
|
||||
<div style="padding: 0 0.1em;">
|
||||
@@ -219,38 +250,40 @@
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete" ToolTip='<%# traduci("Delete") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina , SteamWare.dimImg.medium) %>' Visible='<%# userCanDel(Eval("CodStato")) %>' />
|
||||
<asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>' TargetControlID="imgDelete"></asp:ConfirmButtonExtender></ItemTemplate><EditItemTemplate>
|
||||
<asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>' TargetControlID="imgDelete"></asp:ConfirmButtonExtender>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update" ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma , SteamWare.dimImg.medium) %>' />
|
||||
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.medium) %>' />
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByCodFiltro" TypeName="XPS_data.DS_applicazioneTableAdapters.v_commesseTableAdapter" DeleteMethod="sp_delObj" FilterExpression=" ( Cliente LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ) " UpdateMethod="updateMag">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
</DeleteParameters>
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
|
||||
</FilterParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="mf_tipoFiltro" DefaultValue="*" Name="CodFiltro" PropertyName="Valore" Type="String" />
|
||||
<asp:SessionParameter SessionField="_inizio" DefaultValue="" Name="DataFiltro" Type="DateTime" />
|
||||
<asp:SessionParameter SessionField="_fine" DefaultValue="" Name="DataFiltroTo" Type="DateTime" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
<asp:Parameter Name="CodCliente" Type="String" />
|
||||
<asp:Parameter Name="Ciclo" Type="String" />
|
||||
<asp:Parameter Name="DataDDT" Type="DateTime" />
|
||||
<asp:Parameter Name="DDT" Type="String" />
|
||||
<asp:SessionParameter Name="UserName" Type="String" SessionField="USER_NAME" />
|
||||
<asp:Parameter Name="descrizione" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<div style="clear: both;">
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" /><br />
|
||||
</div>
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
</div>
|
||||
</div>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByCodFiltro" TypeName="XPS_data.DS_applicazioneTableAdapters.v_commesseTableAdapter" DeleteMethod="sp_delObj" FilterExpression=" ( Cliente LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ) " UpdateMethod="updateMag">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
</DeleteParameters>
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
|
||||
</FilterParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="mf_tipoFiltro" DefaultValue="*" Name="CodFiltro" PropertyName="Valore" Type="String" />
|
||||
<asp:SessionParameter SessionField="_inizio" DefaultValue="" Name="DataFiltro" Type="DateTime" />
|
||||
<asp:SessionParameter SessionField="_fine" DefaultValue="" Name="DataFiltroTo" Type="DateTime" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
<asp:Parameter Name="CodCliente" Type="String" />
|
||||
<asp:Parameter Name="Ciclo" Type="String" />
|
||||
<asp:Parameter Name="DataDDT" Type="DateTime" />
|
||||
<asp:Parameter Name="DDT" Type="String" />
|
||||
<asp:SessionParameter Name="UserName" Type="String" SessionField="USER_NAME" />
|
||||
<asp:Parameter Name="descrizione" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<div style="clear: both;">
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" /><br />
|
||||
</div>
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
|
||||
Reference in New Issue
Block a user