Fix display update periodo

This commit is contained in:
Samuele Locatelli
2022-08-04 11:57:20 +02:00
parent d48328f0e6
commit b6111d1cfd
3 changed files with 24 additions and 24 deletions
@@ -8,7 +8,7 @@
// If not native HTML5 support, fallback to jQuery datePicker
$('input[type=date]').datepicker({
// Consistent format with the HTML5 picker
dateFormat: 'yy-mm-dd'
dateFormat: 'yyyy-MM-dd'
}
//// Localization
//,$.datepicker.regional['it']
@@ -43,8 +43,8 @@
</SelectParameters>
</asp:ObjectDataSource>
</div>
<asp:TextBox ID="txtInizio" runat="server" MaxLength="10" AutoPostBack="True" OnTextChanged="txtInizio_TextChanged" CssClass="datepicker form-control" Font-Size="Small" TextMode="Date" />
<asp:TextBox ID="txtFine" runat="server" MaxLength="10" AutoPostBack="True" OnTextChanged="txtFine_TextChanged" CssClass="datepicker form-control" Font-Size="Small" TextMode="Date" />
<asp:TextBox ID="txtInizio" runat="server" MaxLength="10" AutoPostBack="True" OnTextChanged="txtInizio_TextChanged" CssClass="datepicker form-control" TextMode="Date" />
<asp:TextBox ID="txtFine" runat="server" MaxLength="10" AutoPostBack="True" OnTextChanged="txtFine_TextChanged" CssClass="datepicker form-control" TextMode="Date" />
<div class="input-group-append">
<asp:Button ID="btnUpdate" CssClass="btn btn-success btn-sm" runat="server" Text="update" Visible="false" OnClick="btnUpdate_Click" />
</div>
+20 -20
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
// <auto-generated>
// This code was generated by a tool.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GPW_Admin.WebUserControls
@@ -15,47 +15,47 @@ namespace GPW_Admin.WebUserControls
{
/// <summary>
/// Controllo ddlSelPeriodo.
/// ddlSelPeriodo control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlSelPeriodo;
/// <summary>
/// Controllo ods_ddlSelPeriodo.
/// ods_ddlSelPeriodo control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods_ddlSelPeriodo;
/// <summary>
/// Controllo txtInizio.
/// txtInizio control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtInizio;
/// <summary>
/// Controllo txtFine.
/// txtFine control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtFine;
/// <summary>
/// Controllo btnUpdate.
/// btnUpdate control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnUpdate;
}
@@ -16,7 +16,7 @@
</asp:ObjectDataSource>
</div>
<div class="p-2">
<uc1:cmp_periodoAnalisi runat="server" ID="cmp_periodoAnalisi" />
<uc1:cmp_periodoAnalisi runat="server" ID="cmp_periodoAnalisi" autoUpdate="true" />
</div>
<div class="p-2">
<asp:LinkButton runat="server" ID="lbtRecalc" CssClass="btn btn-primary btn-sm" OnClick="lbtRecalc_Click">Ricalcola</asp:LinkButton>