Update installer con NUOVO FILTRO
This commit is contained in:
Binary file not shown.
+1
-1
@@ -77,7 +77,7 @@
|
||||
<add key="_navMaxChar" value="20" />
|
||||
<!--Conf generale-->
|
||||
<add key="Environment" value="DEV" />
|
||||
<add key="appVers" value="EQUA" />
|
||||
<add key="appVers" value="develop" />
|
||||
<add key="downloadPath" value="c:\Steamware\installers\XPS_APP\" />
|
||||
<!--gestione cookie-->
|
||||
<add key="AuthCookie" value="XPS" />
|
||||
|
||||
@@ -7,30 +7,34 @@
|
||||
|
||||
|
||||
<div class="filtro_1">
|
||||
<div class="row">
|
||||
<div class="col-md-3 pl-3">
|
||||
<uc1:mod_periodoAnalisi runat="server" ID="mod_periodoAnalisi" />
|
||||
</div>
|
||||
<div class="col-md-7">
|
||||
<span style="float: left;">
|
||||
<uc1:mod_filtro ID="mf_tipoFiltro" runat="server" changeCheckEnabled="false" changeCheckVisible="false" />
|
||||
<asp:ObjectDataSource ID="odsTipoFiltro" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByUrl" TypeName="XPS_data.DS_utilityTableAdapters.v_selFiltriTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="lblPag" DefaultValue="*" Name="url" PropertyName="Text" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label runat="server" ID="lblPag" Visible="false" />
|
||||
</span>
|
||||
<span style="float: left;">
|
||||
<uc1:mod_filtro ID="mf_clienti" runat="server" dlWidth="20em" />
|
||||
<asp:ObjectDataSource ID="odsFiltroClienti" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetData" TypeName="XPS_data.DS_utilityTableAdapters.v_selClientiTableAdapter"></asp:ObjectDataSource>
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<span style="float: right;">
|
||||
<div class="row ">
|
||||
<div class="col-12 fontCond">
|
||||
<div class="d-flex">
|
||||
<div class="p-2">
|
||||
<uc1:mod_periodoAnalisi runat="server" ID="mod_periodoAnalisi" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<uc1:mod_filtro ID="mf_tipoFiltro" runat="server" changeCheckEnabled="false" changeCheckVisible="false" />
|
||||
<asp:ObjectDataSource ID="odsTipoFiltro" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByUrl" TypeName="XPS_data.DS_utilityTableAdapters.v_selFiltriTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="lblPag" DefaultValue="*" Name="url" PropertyName="Text" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label runat="server" ID="lblPag" Visible="false" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<uc1:mod_filtro ID="mf_ciclo" runat="server" descrFiltro="CICLO" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<uc1:mod_filtro ID="mf_clienti" runat="server" descrFiltro="CLIENTE" dlWidth="20em" />
|
||||
<asp:ObjectDataSource ID="odsFiltroClienti" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetData" TypeName="XPS_data.DS_utilityTableAdapters.v_selClientiTableAdapter"></asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<asp:LinkButton ID="btnShowNew" runat="server" OnClick="btnShowNew_Click" CssClass="styleBtnComposito" CausesValidation="false">
|
||||
<asp:Label ID="lblReset" runat="server" Text="..." />
|
||||
</asp:LinkButton></span>
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<asp:Panel ID="pnlNew" runat="server" Visible="false" BackColor="#CCCCFF">
|
||||
@@ -97,37 +101,20 @@
|
||||
<div class="col-6 pr-0 text-center">
|
||||
<asp:TextBox ID="txtDueDate" runat="server" Text="..." CssClass="form-control form-control-sm" />
|
||||
<asp:RequiredFieldValidator ID="rfvDueDate" runat="server" ErrorMessage="!!!" ControlToValidate="txtDueDate" Display="Dynamic" />
|
||||
<asp:CalendarExtender ID="ce_DueDate" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDueDate" Format="dd/MM/yy"></asp:CalendarExtender>
|
||||
</div>
|
||||
<div class="col-6 text-center">
|
||||
<asp:CalendarExtender ID="ce_DueDate" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDueDate" Format="dd/MM/yy"></asp:CalendarExtender></div><div class="col-6 text-center">
|
||||
<asp:DropDownList runat="server" ID="ddlOra" CssClass="form-control form-control-sm">
|
||||
<asp:ListItem Value="9">09:00</asp:ListItem>
|
||||
<asp:ListItem Value="14">14:00</asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<asp:ListItem Value="9">09:00</asp:ListItem><asp:ListItem Value="14">14:00</asp:ListItem></asp:DropDownList></div></div><div class="row text-center">
|
||||
<div class="col-6 pr-0 text-center">
|
||||
<asp:TextBox runat="server" ID="txtQuota" CssClass="form-control form-control-sm" ToolTip="Riempimento cesta / carico"></asp:TextBox>
|
||||
</div>
|
||||
<div class="col-6 text-center text-success" style="font-size: 1.5em;">
|
||||
<asp:TextBox runat="server" ID="txtQuota" CssClass="form-control form-control-sm" ToolTip="Riempimento cesta / carico"></asp:TextBox></div><div class="col-6 text-center text-success" style="font-size: 1.5em;">
|
||||
<small>
|
||||
<asp:Label runat="server" ID="lblCarico">X</asp:Label></small> <i class="fa fa-th-large"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<asp:Label runat="server" ID="lblCarico">X</asp:Label></small><i class="fa fa-th-large"></i></div></div><div class="row text-center">
|
||||
<div class="col-6">
|
||||
<asp:Button ID="btnOk" runat="server" OnClick="btnOk_Click" CssClass="btn btn-sm btn-success form-control" />
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:Button ID="btnCancel" runat="server" OnClick="btnCancel_Click" CssClass="btn btn-sm btn-warning form-control" />
|
||||
</div>
|
||||
<asp:ConfirmButtonExtender ID="cbeOkDueDate" runat="server" ConfirmText="..." TargetControlID="btnOk"></asp:ConfirmButtonExtender>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel ID="pnlCambiaStato" Visible="false" runat="server">
|
||||
<asp:ConfirmButtonExtender ID="cbeOkDueDate" runat="server" ConfirmText="..." TargetControlID="btnOk"></asp:ConfirmButtonExtender></div></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 />
|
||||
@@ -147,11 +134,7 @@
|
||||
<div class="col-6">
|
||||
<asp:Button ID="btnCancelStati" runat="server" OnClick="btnCancelStati_Click" CssClass="btn btn-sm btn-warning form-control" />
|
||||
</div>
|
||||
<asp:ConfirmButtonExtender ID="cbeOkStati" runat="server" ConfirmText="..." TargetControlID="btnOkStati"></asp:ConfirmButtonExtender>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel ID="pnlLogStati" Visible="false" runat="server">
|
||||
<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>
|
||||
<uc1:mod_impegniSched runat="server" ID="mod_impegniSched" Visible="false" />
|
||||
@@ -173,25 +156,10 @@
|
||||
<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 class="text-left text-nowrap">
|
||||
<asp:LinkButton runat="server" ID="lbSelect" CssClass="btn btn-sm btn-outline-secondary" 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-sm btn-outline-info" 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>
|
||||
<asp:LinkButton runat="server" ID="lbEdit" CssClass="btn btn-sm btn-outline-dark" CausesValidation="False" CommandName="Edit" ToolTip='<%# traduci("Edit") %>' Visible='<%# isEditVisible(Eval("CodStato")) %>'><i class="fa fa-pencil fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lbAccetta" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" OnClick="lbAccetta_Click" ToolTip='<%# traduci("AccettaObjXps")%>' Visible='<%# isAccettVisible(Eval("CodStato")) %>'><i class="fa fa-check fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:ConfirmButtonExtender ID="cbeAccetta" runat="server" ConfirmText='<%# traduci("confermaAccettaObjXps")%>' TargetControlID="lbAccetta"></asp:ConfirmButtonExtender>
|
||||
<asp:LinkButton runat="server" ID="lbSchedulaTutto" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Select" OnClick="lbSchedulaTutto_Click" ToolTip='<%# traduci("SchedulaObjXps")%>' Visible='<%# isSchedulaVisible(Eval("CodStato")) %>'><i class="fa fa-calendar fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lbFattura" CssClass="btn btn-sm btn-outline-danger" CausesValidation="False" CommandName="Update" OnClick="lbFattura_Click" ToolTip='<%# traduci("FatturaObjXps")%>' Visible='<%# isFatturaVisible(Eval("CodStato")) %>'><i class="fa fa-file-text-o fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:ConfirmButtonExtender ID="cbeSchedula" runat="server" ConfirmText='<%# traduci("confermaFatturaObjXps")%>' TargetControlID="lbFattura"></asp:ConfirmButtonExtender>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbUpdate" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" ToolTip='<%# traduci("Update") %>'><i class="fa fa-check fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbCancel" CssClass="btn btn-sm btn-outline-danger" CausesValidation="False" CommandName="Cancel" ToolTip='<%# traduci("Cancel") %>'><i class="fa fa-ban fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Cliente" SortExpression="Cliente">
|
||||
<asp:LinkButton runat="server" ID="lbSelect" CssClass="btn btn-sm btn-outline-secondary" 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-sm btn-outline-info" 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><asp:LinkButton runat="server" ID="lbEdit" CssClass="btn btn-sm btn-outline-dark" CausesValidation="False" CommandName="Edit" ToolTip='<%# traduci("Edit") %>' Visible='<%# isEditVisible(Eval("CodStato")) %>'><i class="fa fa-pencil fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbAccetta" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" OnClick="lbAccetta_Click" ToolTip='<%# traduci("AccettaObjXps")%>' Visible='<%# isAccettVisible(Eval("CodStato")) %>'><i class="fa fa-check fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeAccetta" runat="server" ConfirmText='<%# traduci("confermaAccettaObjXps")%>' TargetControlID="lbAccetta"></asp:ConfirmButtonExtender><asp:LinkButton runat="server" ID="lbSchedulaTutto" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Select" OnClick="lbSchedulaTutto_Click" ToolTip='<%# traduci("SchedulaObjXps")%>' Visible='<%# isSchedulaVisible(Eval("CodStato")) %>'><i class="fa fa-calendar fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbFattura" CssClass="btn btn-sm btn-outline-danger" CausesValidation="False" CommandName="Update" OnClick="lbFattura_Click" ToolTip='<%# traduci("FatturaObjXps")%>' Visible='<%# isFatturaVisible(Eval("CodStato")) %>'><i class="fa fa-file-text-o fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeSchedula" runat="server" ConfirmText='<%# traduci("confermaFatturaObjXps")%>' TargetControlID="lbFattura"></asp:ConfirmButtonExtender></div></ItemTemplate><EditItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbUpdate" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" ToolTip='<%# traduci("Update") %>'><i class="fa fa-check fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbCancel" CssClass="btn btn-sm btn-outline-danger" CausesValidation="False" CommandName="Cancel" ToolTip='<%# traduci("Cancel") %>'><i class="fa fa-ban fa-2x" aria-hidden="true"></i></asp:LinkButton></EditItemTemplate></asp:TemplateField><asp:TemplateField HeaderText="Cliente" SortExpression="Cliente">
|
||||
<EditItemTemplate>
|
||||
<asp:DropDownList runat="server" ID="ddlCodCliente" DataSourceID="odsFiltroClienti" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("CodCliente") %>' Width="20em" />
|
||||
</EditItemTemplate>
|
||||
@@ -201,10 +169,7 @@
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="email" SortExpression="emailReq" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-info" runat="server" Visible='<%# !Convert.ToBoolean(Eval("emailReq")) %>' ID="lbAddEmailReq" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("addEmailReq") %>' OnClick="lbAddEmailReq_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaAddEmail") %>'><i class="fa fa-plus fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton CssClass="btn btn-sm btn-outline-info" runat="server" Visible='<%# Convert.ToBoolean(Eval("emailReq")) %>' ID="lbRemEmailReq" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("remEmailReq") %>' OnClick="lbRemEmailReq_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaRemEmail") %>'><i class="fa fa-2x fa-envelope" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="DDT" SortExpression="DDT">
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-info" runat="server" Visible='<%# !Convert.ToBoolean(Eval("emailReq")) %>' ID="lbAddEmailReq" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("addEmailReq") %>' OnClick="lbAddEmailReq_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaAddEmail") %>'><i class="fa fa-plus fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton CssClass="btn btn-sm btn-outline-info" runat="server" Visible='<%# Convert.ToBoolean(Eval("emailReq")) %>' ID="lbRemEmailReq" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("remEmailReq") %>' OnClick="lbRemEmailReq_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaRemEmail") %>'><i class="fa fa-2x fa-envelope" aria-hidden="true"></i></asp:LinkButton></ItemTemplate></asp:TemplateField><asp:TemplateField HeaderText="DDT" SortExpression="DDT">
|
||||
<ItemTemplate>
|
||||
<b>
|
||||
<asp:Label ID="lblNumDDT" runat="server" Text='<%# Eval("DDT") %>' ToolTip='<%# Eval("Cod")%>' /></b>
|
||||
@@ -212,21 +177,13 @@
|
||||
<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>
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-dark" 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>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Ciclo" SortExpression="Ciclo">
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-dark" 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></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>
|
||||
@@ -238,9 +195,7 @@
|
||||
<ItemTemplate>
|
||||
<div class="clearDiv" style="white-space: nowrap; margin: 0 0.2em; min-width: 10em;">
|
||||
<div class="divSx">
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-secondary" 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>
|
||||
</div>
|
||||
<div class="divDx">
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-secondary" 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></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;">
|
||||
@@ -271,9 +226,7 @@
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbDelete" CssClass="btn btn-sm btn-danger" CausesValidation="False" CommandName="Delete" ToolTip='<%# traduci("Delete") %>' Visible='<%# userCanDel(Eval("CodStato")) %>'><i class="fa fa-trash fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeDelete" runat="server" ConfirmText='<%# traduci("confermaDel")%>' TargetControlID="lbDelete"></asp:ConfirmButtonExtender>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbDelete" CssClass="btn btn-sm btn-danger" CausesValidation="False" CommandName="Delete" ToolTip='<%# traduci("Delete") %>' Visible='<%# userCanDel(Eval("CodStato")) %>'><i class="fa fa-trash fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeDelete" runat="server" ConfirmText='<%# traduci("confermaDel")%>' TargetControlID="lbDelete"></asp:ConfirmButtonExtender></ItemTemplate><EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
|
||||
@@ -127,9 +127,12 @@ namespace XPS.WebUserControls
|
||||
_idxGridView = "CodDDT";
|
||||
mf_clienti.eh_selValore += new EventHandler(mf_clienti_eh_selValore);
|
||||
mf_tipoFiltro.eh_selValore += new EventHandler(mf_tipoFiltro_eh_selValore);
|
||||
mf_ciclo.eh_selValore += Mf_ciclo_eh_selValore;
|
||||
mod_logStati1.eh_reset += new EventHandler(mod_logStati1_eh_reset);
|
||||
setStatiRewindAmmessi();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// imposta data minima x recupero dati...
|
||||
/// </summary>
|
||||
@@ -264,6 +267,7 @@ namespace XPS.WebUserControls
|
||||
lblPag.Text = devicesAuthProxy.pagCorrente;
|
||||
mf_tipoFiltro.ods = odsTipoFiltro;
|
||||
mf_clienti.ods = odsFiltroClienti;
|
||||
mf_ciclo.ods = odsValLav;
|
||||
fixControlliDaModoCorrente();
|
||||
//}
|
||||
}
|
||||
@@ -283,6 +287,10 @@ namespace XPS.WebUserControls
|
||||
}
|
||||
}
|
||||
|
||||
private void Mf_ciclo_eh_selValore(object sender, EventArgs e)
|
||||
{
|
||||
checkFixOds();
|
||||
}
|
||||
void mf_clienti_eh_selValore(object sender, EventArgs e)
|
||||
{
|
||||
checkFixOds();
|
||||
@@ -292,16 +300,20 @@ namespace XPS.WebUserControls
|
||||
/// </summary>
|
||||
private void checkFixOds()
|
||||
{
|
||||
// controllo se filtro attivo...
|
||||
// imposto filtraggio base
|
||||
string baseFilt = " ( Cliente LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ) ";
|
||||
string custFilt = "";
|
||||
// controllo se filtri attivo...
|
||||
if (mf_clienti.valore != "*")
|
||||
{
|
||||
string filtroCliente = string.Format("AND CodCliente = '{0}'", mf_clienti.valore);
|
||||
ods.FilterExpression = " ( Cliente LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ) " + filtroCliente;
|
||||
custFilt += string.Format("AND CodCliente = '{0}'", mf_clienti.valore);
|
||||
}
|
||||
else
|
||||
if (mf_ciclo.valore != "*")
|
||||
{
|
||||
ods.FilterExpression = " ( Cliente LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ) ";
|
||||
custFilt += string.Format("AND Ciclo = '{0}'", mf_ciclo.valore);
|
||||
}
|
||||
// ricompongo!
|
||||
ods.FilterExpression = baseFilt + custFilt;
|
||||
grView.DataBind();
|
||||
}
|
||||
|
||||
|
||||
@@ -48,6 +48,15 @@ namespace XPS.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblPag;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mf_ciclo.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::XPS.WebUserControls.mod_filtro mf_ciclo;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mf_clienti.
|
||||
/// </summary>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" Inherits="XPS.WebUserControls.mod_filtro" Codebehind="mod_filtro.ascx.cs" %>
|
||||
<asp:CheckBox ID="chkFilt" runat="server" Text="---" Checked="false" AutoPostBack="True"
|
||||
OnCheckedChanged="chkFilt_CheckedChanged" />
|
||||
<asp:DropDownList ID="dlFilt" runat="server" Visible="False" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="dlFilt_SelectedIndexChanged">
|
||||
<asp:DropDownList ID="dlFilt" runat="server" Visible="False" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="dlFilt_SelectedIndexChanged" CssClass="btn btn-sm">
|
||||
</asp:DropDownList>
|
||||
<asp:Label ID="where" runat="server" Visible="false" Text="" />
|
||||
@@ -12,305 +12,309 @@ using SteamWare;
|
||||
|
||||
namespace XPS.WebUserControls
|
||||
{
|
||||
public partial class mod_filtro : SteamWare.UserControl
|
||||
public partial class mod_filtro : SteamWare.UserControl
|
||||
{
|
||||
protected override void OnInit(EventArgs e)
|
||||
{
|
||||
protected override void OnInit(EventArgs e)
|
||||
{
|
||||
base.OnInit(e);
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
traduciObj();
|
||||
}
|
||||
bindControlli();
|
||||
}
|
||||
|
||||
protected ObjectDataSource _ods;
|
||||
protected string _valore
|
||||
{
|
||||
get
|
||||
{
|
||||
return memLayer.ML.StringSessionObj(string.Format("valFiltro_{0}", this.ID));
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal(string.Format("valFiltro_{0}", this.ID), value, false);
|
||||
}
|
||||
}
|
||||
protected bool _changeCheckEnabled = true;
|
||||
protected bool _changeCheckVisible = true;
|
||||
protected bool _changeSelEnabled = true;
|
||||
protected string _where = "";
|
||||
protected void traduciObj()
|
||||
{
|
||||
if (_changeCheckVisible)
|
||||
{
|
||||
if (!chkFilt.Checked)
|
||||
{
|
||||
chkFilt.Text = traduci("mostraSoloSelez");
|
||||
}
|
||||
else
|
||||
{
|
||||
chkFilt.Text = traduci("mostraTutti");
|
||||
}
|
||||
}
|
||||
}
|
||||
protected void chkFilt_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
// cambio modalità visualizzazione del filtro...
|
||||
dlFilt.Visible = !dlFilt.Visible;
|
||||
raiseSelEvent();
|
||||
}
|
||||
|
||||
protected void raiseSelEvent()
|
||||
{
|
||||
if (!dlFilt.Visible)
|
||||
{
|
||||
memLayer.ML.setSessionVal(string.Format("valFiltro_{0}", this.ID), "", false);
|
||||
}
|
||||
else
|
||||
{
|
||||
_valore = dlFilt.SelectedValue;
|
||||
}
|
||||
if (eh_selValore != null)
|
||||
{
|
||||
eh_selValore(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
protected void updateChk()
|
||||
{
|
||||
chkFilt.Enabled = _changeCheckEnabled;
|
||||
if (!_changeCheckEnabled)
|
||||
{
|
||||
chkFilt.Checked = true;
|
||||
dlFilt.Visible = true;
|
||||
}
|
||||
}
|
||||
protected void updateSel()
|
||||
{
|
||||
dlFilt.Enabled = _changeSelEnabled;
|
||||
}
|
||||
protected void updateChkLbl()
|
||||
{
|
||||
chkFilt.Visible = _changeCheckVisible;
|
||||
}
|
||||
protected void bindControlli()
|
||||
{
|
||||
updateChk();
|
||||
fixValore();
|
||||
where.Text = _where;
|
||||
traduciObj();
|
||||
}
|
||||
protected SteamWare.tipoVistaMod _modo = SteamWare.tipoVistaMod.editing;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// condizione where per ridurre elementi mostrati in selettore
|
||||
/// </summary>
|
||||
public string condizione
|
||||
{
|
||||
get
|
||||
{
|
||||
return _where;
|
||||
}
|
||||
set
|
||||
{
|
||||
_where = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// fornisce il valore scelto o "*" se nulla selezionato
|
||||
/// </summary>
|
||||
public string valore
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "*";
|
||||
if (chkFilt.Checked)
|
||||
{
|
||||
answ = dlFilt.SelectedValue;
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
_valore = value;
|
||||
fixValore();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// primo valore di una chiave multicampo
|
||||
/// </summary>
|
||||
public string val_1
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "";
|
||||
if (chkFilt.Checked)
|
||||
{
|
||||
try
|
||||
{
|
||||
string[] _dataKey = dlFilt.SelectedValue.Split('#');
|
||||
answ = _dataKey[0];
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = "*";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// secondo valore di una chiave multicampo
|
||||
/// </summary>
|
||||
public string val_2
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "";
|
||||
if (chkFilt.Checked)
|
||||
{
|
||||
try
|
||||
{
|
||||
string[] _dataKey = dlFilt.SelectedValue.Split('#');
|
||||
answ = _dataKey[1];
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = "*";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// fornisce il valore scelto o "0" se nulla selezionato o non valido
|
||||
/// </summary>
|
||||
public int valoreInt
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
try
|
||||
{
|
||||
if (chkFilt.Checked)
|
||||
{
|
||||
answ = Convert.ToInt32(dlFilt.SelectedValue);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
protected void fixValore()
|
||||
{
|
||||
if (_ods != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
dlFilt.DataSource = _ods;
|
||||
dlFilt.DataBind();
|
||||
if (_valore != "")
|
||||
{
|
||||
dlFilt.SelectedValue = _valore;
|
||||
dlFilt.Visible = true;
|
||||
chkFilt.Checked = true;
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog(string.Format("Errore bind ods filtraggio: {0}", exc), tipoLog.EXCEPTION);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public event EventHandler eh_selValore;
|
||||
|
||||
/// <summary>
|
||||
/// determina se sia possibile (de)selezionare il check di filtraggio, altrimenti sempre attivo
|
||||
/// </summary>
|
||||
public bool changeCheckEnabled
|
||||
{
|
||||
get
|
||||
{
|
||||
return _changeCheckEnabled;
|
||||
}
|
||||
set
|
||||
{
|
||||
_changeCheckEnabled = value;
|
||||
updateChk();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// determina se sia possibile modificare la selezione
|
||||
/// </summary>
|
||||
public bool changeSelEnabled
|
||||
{
|
||||
get
|
||||
{
|
||||
return _changeSelEnabled;
|
||||
}
|
||||
set
|
||||
{
|
||||
_changeSelEnabled = value;
|
||||
updateSel();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// determina se sia possibile visibile il check di filtraggio
|
||||
/// </summary>
|
||||
public bool changeCheckVisible
|
||||
{
|
||||
get
|
||||
{
|
||||
return _changeCheckVisible;
|
||||
}
|
||||
set
|
||||
{
|
||||
_changeCheckVisible = value;
|
||||
updateChkLbl();
|
||||
}
|
||||
}
|
||||
protected void dlFilt_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
raiseSelEvent();
|
||||
// salvo val selezionato...
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// oggetto ODS con cui popolare il selettore, VINCOLO abbia campi value(key) / label
|
||||
/// </summary>
|
||||
public ObjectDataSource ods
|
||||
{
|
||||
get
|
||||
{
|
||||
return _ods;
|
||||
}
|
||||
set
|
||||
{
|
||||
_ods = value;
|
||||
bindControlli();
|
||||
}
|
||||
}
|
||||
|
||||
public Unit dlWidth
|
||||
{
|
||||
get
|
||||
{
|
||||
return dlFilt.Width;
|
||||
}
|
||||
set
|
||||
{
|
||||
dlFilt.Width = value;
|
||||
}
|
||||
}
|
||||
base.OnInit(e);
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
traduciObj();
|
||||
}
|
||||
bindControlli();
|
||||
}
|
||||
|
||||
protected ObjectDataSource _ods;
|
||||
protected string _valore
|
||||
{
|
||||
get
|
||||
{
|
||||
return memLayer.ML.StringSessionObj(string.Format("valFiltro_{0}", this.ID));
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal(string.Format("valFiltro_{0}", this.ID), value, false);
|
||||
}
|
||||
}
|
||||
protected bool _changeCheckEnabled = true;
|
||||
protected bool _changeCheckVisible = true;
|
||||
protected bool _changeSelEnabled = true;
|
||||
protected string _where = "";
|
||||
/// <summary>
|
||||
/// Descr filtro da visualizzare
|
||||
/// </summary>
|
||||
public string descrFiltro { get; set; }
|
||||
protected void traduciObj()
|
||||
{
|
||||
if (_changeCheckVisible)
|
||||
{
|
||||
if (!chkFilt.Checked)
|
||||
{
|
||||
chkFilt.Text = string.Format("{0} | {1}", descrFiltro, traduci("mostraSoloSelez"));
|
||||
}
|
||||
else
|
||||
{
|
||||
chkFilt.Text = string.Format("{0} | {1}", descrFiltro, traduci("mostraTutti"));
|
||||
}
|
||||
}
|
||||
}
|
||||
protected void chkFilt_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
// cambio modalità visualizzazione del filtro...
|
||||
dlFilt.Visible = !dlFilt.Visible;
|
||||
raiseSelEvent();
|
||||
}
|
||||
|
||||
protected void raiseSelEvent()
|
||||
{
|
||||
if (!dlFilt.Visible)
|
||||
{
|
||||
memLayer.ML.setSessionVal(string.Format("valFiltro_{0}", this.ID), "", false);
|
||||
}
|
||||
else
|
||||
{
|
||||
_valore = dlFilt.SelectedValue;
|
||||
}
|
||||
if (eh_selValore != null)
|
||||
{
|
||||
eh_selValore(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
protected void updateChk()
|
||||
{
|
||||
chkFilt.Enabled = _changeCheckEnabled;
|
||||
if (!_changeCheckEnabled)
|
||||
{
|
||||
chkFilt.Checked = true;
|
||||
dlFilt.Visible = true;
|
||||
}
|
||||
}
|
||||
protected void updateSel()
|
||||
{
|
||||
dlFilt.Enabled = _changeSelEnabled;
|
||||
}
|
||||
protected void updateChkLbl()
|
||||
{
|
||||
chkFilt.Visible = _changeCheckVisible;
|
||||
}
|
||||
protected void bindControlli()
|
||||
{
|
||||
updateChk();
|
||||
fixValore();
|
||||
where.Text = _where;
|
||||
traduciObj();
|
||||
}
|
||||
protected SteamWare.tipoVistaMod _modo = SteamWare.tipoVistaMod.editing;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// condizione where per ridurre elementi mostrati in selettore
|
||||
/// </summary>
|
||||
public string condizione
|
||||
{
|
||||
get
|
||||
{
|
||||
return _where;
|
||||
}
|
||||
set
|
||||
{
|
||||
_where = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// fornisce il valore scelto o "*" se nulla selezionato
|
||||
/// </summary>
|
||||
public string valore
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "*";
|
||||
if (chkFilt.Checked)
|
||||
{
|
||||
answ = dlFilt.SelectedValue;
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
_valore = value;
|
||||
fixValore();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// primo valore di una chiave multicampo
|
||||
/// </summary>
|
||||
public string val_1
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "";
|
||||
if (chkFilt.Checked)
|
||||
{
|
||||
try
|
||||
{
|
||||
string[] _dataKey = dlFilt.SelectedValue.Split('#');
|
||||
answ = _dataKey[0];
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = "*";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// secondo valore di una chiave multicampo
|
||||
/// </summary>
|
||||
public string val_2
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "";
|
||||
if (chkFilt.Checked)
|
||||
{
|
||||
try
|
||||
{
|
||||
string[] _dataKey = dlFilt.SelectedValue.Split('#');
|
||||
answ = _dataKey[1];
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = "*";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// fornisce il valore scelto o "0" se nulla selezionato o non valido
|
||||
/// </summary>
|
||||
public int valoreInt
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
try
|
||||
{
|
||||
if (chkFilt.Checked)
|
||||
{
|
||||
answ = Convert.ToInt32(dlFilt.SelectedValue);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
protected void fixValore()
|
||||
{
|
||||
if (_ods != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
dlFilt.DataSource = _ods;
|
||||
dlFilt.DataBind();
|
||||
if (_valore != "")
|
||||
{
|
||||
dlFilt.SelectedValue = _valore;
|
||||
dlFilt.Visible = true;
|
||||
chkFilt.Checked = true;
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog(string.Format("Errore bind ods filtraggio: {0}", exc), tipoLog.EXCEPTION);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public event EventHandler eh_selValore;
|
||||
|
||||
/// <summary>
|
||||
/// determina se sia possibile (de)selezionare il check di filtraggio, altrimenti sempre attivo
|
||||
/// </summary>
|
||||
public bool changeCheckEnabled
|
||||
{
|
||||
get
|
||||
{
|
||||
return _changeCheckEnabled;
|
||||
}
|
||||
set
|
||||
{
|
||||
_changeCheckEnabled = value;
|
||||
updateChk();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// determina se sia possibile modificare la selezione
|
||||
/// </summary>
|
||||
public bool changeSelEnabled
|
||||
{
|
||||
get
|
||||
{
|
||||
return _changeSelEnabled;
|
||||
}
|
||||
set
|
||||
{
|
||||
_changeSelEnabled = value;
|
||||
updateSel();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// determina se sia possibile visibile il check di filtraggio
|
||||
/// </summary>
|
||||
public bool changeCheckVisible
|
||||
{
|
||||
get
|
||||
{
|
||||
return _changeCheckVisible;
|
||||
}
|
||||
set
|
||||
{
|
||||
_changeCheckVisible = value;
|
||||
updateChkLbl();
|
||||
}
|
||||
}
|
||||
protected void dlFilt_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
raiseSelEvent();
|
||||
// salvo val selezionato...
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// oggetto ODS con cui popolare il selettore, VINCOLO abbia campi value(key) / label
|
||||
/// </summary>
|
||||
public ObjectDataSource ods
|
||||
{
|
||||
get
|
||||
{
|
||||
return _ods;
|
||||
}
|
||||
set
|
||||
{
|
||||
_ods = value;
|
||||
bindControlli();
|
||||
}
|
||||
}
|
||||
|
||||
public Unit dlWidth
|
||||
{
|
||||
get
|
||||
{
|
||||
return dlFilt.Width;
|
||||
}
|
||||
set
|
||||
{
|
||||
dlFilt.Width = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+14
-14
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace XPS.WebUserControls {
|
||||
@@ -13,29 +13,29 @@ namespace XPS.WebUserControls {
|
||||
public partial class mod_filtro {
|
||||
|
||||
/// <summary>
|
||||
/// chkFilt control.
|
||||
/// Controllo chkFilt.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.CheckBox chkFilt;
|
||||
|
||||
/// <summary>
|
||||
/// dlFilt control.
|
||||
/// Controllo dlFilt.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList dlFilt;
|
||||
|
||||
/// <summary>
|
||||
/// where control.
|
||||
/// Controllo where.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label where;
|
||||
}
|
||||
|
||||
@@ -1,30 +1,28 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" Inherits="XPS.WebUserControls.mod_periodoAnalisi"
|
||||
CodeBehind="mod_periodoAnalisi.ascx.cs" %>
|
||||
CodeBehind="mod_periodoAnalisi.ascx.cs" %>
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<asp:DropDownList ID="ddlPeriodo" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPeriodo_SelectedIndexChanged" Font-Size="Smaller" CssClass="pad3">
|
||||
<asp:ListItem Value="0">selezione</asp:ListItem>
|
||||
<asp:ListItem Value="15gg">Ultimi 15 gg</asp:ListItem>
|
||||
<asp:ListItem Value="30gg">Ultimi 30 gg</asp:ListItem>
|
||||
<asp:ListItem Value="2M">Ultimi 2 mesi</asp:ListItem>
|
||||
<asp:ListItem Value="3M" Selected="True">Ultimi 3 mesi</asp:ListItem>
|
||||
<asp:ListItem Value="6M">Ultimi 6 mesi</asp:ListItem>
|
||||
<asp:ListItem Value="12M">Ultimi 12 mesi</asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
<asp:HiddenField runat="server" ID="hfTPer" />
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<asp:TextBox ID="txtInizio" TabIndex="1" runat="server" Width="8em" MaxLength="10" AutoPostBack="True" OnTextChanged="txtInizio_TextChanged" ToolTip="Inizio" />
|
||||
<asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtInizio"
|
||||
FirstDayOfWeek="Monday" Format="dd/MM/yyyy">
|
||||
</asp:CalendarExtender>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<asp:TextBox ID="txtFine" TabIndex="3" runat="server" Width="8em" MaxLength="10" AutoPostBack="True" OnTextChanged="txtFine_TextChanged" ToolTip="Fine" />
|
||||
<asp:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtFine"
|
||||
FirstDayOfWeek="Monday" Format="dd/MM/yyyy">
|
||||
</asp:CalendarExtender>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<asp:DropDownList ID="ddlPeriodo" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPeriodo_SelectedIndexChanged" Font-Size="Smaller" CssClass="btn btn-sm">
|
||||
<asp:ListItem Value="0">selezione</asp:ListItem>
|
||||
<asp:ListItem Value="15gg">Ultimi 15 gg</asp:ListItem>
|
||||
<asp:ListItem Value="30gg">Ultimi 30 gg</asp:ListItem>
|
||||
<asp:ListItem Value="2M">Ultimi 2 mesi</asp:ListItem>
|
||||
<asp:ListItem Value="3M" Selected="True">Ultimi 3 mesi</asp:ListItem>
|
||||
<asp:ListItem Value="6M">Ultimi 6 mesi</asp:ListItem>
|
||||
<asp:ListItem Value="12M">Ultimi 12 mesi</asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
<asp:HiddenField runat="server" ID="hfTPer" />
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<asp:TextBox ID="txtInizio" TabIndex="1" runat="server" Width="8em" MaxLength="10" AutoPostBack="True" OnTextChanged="txtInizio_TextChanged" ToolTip="Inizio" CssClass="form-control form-control-sm" />
|
||||
<asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtInizio"
|
||||
FirstDayOfWeek="Monday" Format="dd/MM/yyyy"></asp:CalendarExtender>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<asp:TextBox ID="txtFine" TabIndex="3" runat="server" Width="8em" MaxLength="10" AutoPostBack="True" OnTextChanged="txtFine_TextChanged" ToolTip="Fine" CssClass="form-control form-control-sm" />
|
||||
<asp:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtFine"
|
||||
FirstDayOfWeek="Monday" Format="dd/MM/yyyy"></asp:CalendarExtender>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+23
-23
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace XPS.WebUserControls {
|
||||
@@ -13,56 +13,56 @@ namespace XPS.WebUserControls {
|
||||
public partial class mod_periodoAnalisi {
|
||||
|
||||
/// <summary>
|
||||
/// ddlPeriodo control.
|
||||
/// Controllo ddlPeriodo.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlPeriodo;
|
||||
|
||||
/// <summary>
|
||||
/// hfTPer control.
|
||||
/// Controllo hfTPer.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfTPer;
|
||||
|
||||
/// <summary>
|
||||
/// txtInizio control.
|
||||
/// Controllo txtInizio.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtInizio;
|
||||
|
||||
/// <summary>
|
||||
/// CalendarExtender1 control.
|
||||
/// Controllo CalendarExtender1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::AjaxControlToolkit.CalendarExtender CalendarExtender1;
|
||||
|
||||
/// <summary>
|
||||
/// txtFine control.
|
||||
/// Controllo txtFine.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtFine;
|
||||
|
||||
/// <summary>
|
||||
/// CalendarExtender2 control.
|
||||
/// Controllo CalendarExtender2.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::AjaxControlToolkit.CalendarExtender CalendarExtender2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user