Fix messagio user input con delay x TAB
This commit is contained in:
@@ -677,6 +677,7 @@
|
||||
<Content Include="StoricoTC.aspx" />
|
||||
<Content Include="SheetTech.aspx" />
|
||||
<Content Include="Test.aspx" />
|
||||
<Content Include="Test2.aspx" />
|
||||
<Content Include="tryLogin.aspx" />
|
||||
<Content Include="Turni.aspx" />
|
||||
<Content Include="Update.aspx" />
|
||||
@@ -903,6 +904,13 @@
|
||||
<Compile Include="Test.aspx.designer.cs">
|
||||
<DependentUpon>Test.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Test2.aspx.cs">
|
||||
<DependentUpon>Test2.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Test2.aspx.designer.cs">
|
||||
<DependentUpon>Test2.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="tryLogin.aspx.cs">
|
||||
<DependentUpon>tryLogin.aspx</DependentUpon>
|
||||
</Compile>
|
||||
|
||||
+3
-6
@@ -7,9 +7,6 @@
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="container">
|
||||
<%--<uc1:mod_regScarti runat="server" ID="mod_regScarti" />
|
||||
<uc1:mod_controlliProd runat="server" ID="mod_controlliProd" />
|
||||
<uc1:mod_confProd runat="server" ID="mod_confProd" />--%>
|
||||
</div>
|
||||
</asp:Content>
|
||||
<div class="container">
|
||||
</div>
|
||||
</asp:Content>
|
||||
Generated
+6
-4
@@ -7,9 +7,11 @@
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MoonProTablet {
|
||||
|
||||
|
||||
public partial class Test {
|
||||
namespace MoonProTablet
|
||||
{
|
||||
|
||||
|
||||
public partial class Test
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test2.aspx.cs" Inherits="MoonProTablet.Test2" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>MPTAB: <%: SteamWare.devicesAuthProxy.getPage(Request.Url) %></title>
|
||||
|
||||
<asp:PlaceHolder ID="PlaceHolder1" runat="server">
|
||||
<%: Scripts.Render("~/bundles/modernizr") %>
|
||||
<%: Scripts.Render("~/bundles/jquery") %>
|
||||
<%: Scripts.Render("~/bundles/jqueryui") %>
|
||||
<%: Scripts.Render("~/bundles/typeahead") %>
|
||||
<%: Scripts.Render("~/bundles/BrowserWindowSize") %>
|
||||
<script type="text/javascript" src="Scripts/instascan.min.js"></script>
|
||||
</asp:PlaceHolder>
|
||||
<webopt:BundleReference ID="BundleReference1" runat="server" Path="~/Content/css" />
|
||||
<webopt:BundleReference ID="BundleReference2" runat="server" Path="~/Content/themes/base/css" />
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div class="row m-3">
|
||||
<div class="col">
|
||||
|
||||
<h2>Test page</h2>
|
||||
<script type="text/javascript">
|
||||
|
||||
$(document).ready(function () {
|
||||
console.log("ready!");
|
||||
document.getElementById('<%= lblUpdating.ClientID %>').hidden = true;
|
||||
});
|
||||
|
||||
$("#<%=divInnovazioni.ClientID%>").change(function () {
|
||||
console.log("changed!");
|
||||
document.getElementById('<%= lblUpdating.ClientID %>').hidden = true;
|
||||
});
|
||||
function hideConfirmButton() {
|
||||
//console.log('hide confirm');
|
||||
document.getElementById('<%= lbtSalva.ClientID %>').hidden = true;
|
||||
document.getElementById('<%= lblUpdating.ClientID %>').hidden = false;
|
||||
}
|
||||
function showConfirmButton() {
|
||||
console.log('show confirm');
|
||||
document.getElementById('<%= lbtSalva.ClientID %>').hidden = false;
|
||||
document.getElementById('<%= lblUpdating.ClientID %>').hidden = true;
|
||||
}
|
||||
</script>
|
||||
<asp:HiddenField runat="server" ID="hfShowInnov" />
|
||||
<hr />
|
||||
<asp:LinkButton runat="server" ID="lbtShowConfProd" OnClick="lbtShowConfProd_Click" CssClass="btn btn-dark btn-lg btn-block">
|
||||
<i class="fa fa-check"></i>
|
||||
<asp:Label runat="server" ID="lblShowConfProd" />
|
||||
</asp:LinkButton>
|
||||
|
||||
<div class="row textCondens text-right bg-dark m-1 p-1" runat="server" id="divInnovazioni" onloadeddata="showConfirmButton()">
|
||||
<div class="col-6 py-1 text-left text-uppercase">
|
||||
<b>Dati Incrementali</b>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<sub>ultima conferma -->
|
||||
<asp:Label runat="server" ID="lblDtRec"></asp:Label></sub>
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 pr-1 align-self-end font-weight-bold">
|
||||
<asp:Label runat="server" ID="lblNumPezzi" CssClass="mb-0" AssociatedControlID="txtNumPezzi" Text="Pz Prodotti CONFERMATI" />
|
||||
<asp:TextBox runat="server" ID="txtNumPezzi" Font-Size="XX-Large" TextMode="Number" CssClass="form-control text-right alert alert-warning py-0 mb-0" Enabled="true" AutoPostBack="True" onfocus="hideConfirmButton()" onblur="showConfirmButton()" />
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 px-1 align-self-end font-weight-bold">
|
||||
<div class="px-2">
|
||||
<asp:Label runat="server" ID="lblPzSca2Rec" CssClass="text-danger" Text="Pz Scarto" />
|
||||
+
|
||||
<asp:Label runat="server" ID="lblPzBuo2Rec" CssClass="text-success" Text="Pz Buoni" />
|
||||
</div>
|
||||
<div class="px-2" style="font-size: 2em;">
|
||||
<asp:Label runat="server" ID="lblPz2RecScarto" CssClass="text-danger py-0">[B2]</asp:Label>
|
||||
+
|
||||
<asp:Label runat="server" ID="lblPz2RecBuoni" CssClass="text-success py-0">[C2]</asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 pr-1 align-self-end font-weight-bold">
|
||||
<asp:Label runat="server" ID="lblNumLasciati" CssClass="mb-0" AssociatedControlID="txtNumPezzi" Text="Pz Prodotti LASCIATI" />
|
||||
<asp:TextBox runat="server" ID="txtNumLasciati" Font-Size="XX-Large" TextMode="Number" CssClass="form-control text-right alert alert-secondary py-0 mb-0" Enabled="true" AutoPostBack="True" onfocus="hideConfirmButton()" onblur="showConfirmButton()" />
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 pl-1 align-self-end font-weight-bold">
|
||||
<asp:LinkButton runat="server" ID="lbtSalva" CssClass="btn btn-success text-light btn-lg btn-block"><i class="fa fa-floppy-o"></i> CONFERMA</asp:LinkButton>
|
||||
<asp:Label runat="server" ID="lblUpdating" CssClass="btn btn-secondary text-light btn-lg btn-block"><i class="fa fa-circle-o-notch fa-spin"></i> USER INPUT</asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,104 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MoonProTablet
|
||||
{
|
||||
public partial class Test2 : System.Web.UI.Page
|
||||
{
|
||||
#region Protected Properties
|
||||
|
||||
protected bool showInnov
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
bool.TryParse(hfShowInnov.Value, out answ);
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfShowInnov.Value = $"{value}";
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// determina comportamento btn conferma
|
||||
/// </summary>
|
||||
private void switchBtnConferma(bool showConf)
|
||||
{
|
||||
divInnovazioni.Visible = showConf;
|
||||
if (showConf)
|
||||
{
|
||||
#if false
|
||||
// continuo update
|
||||
lbtSalva.Visible = showConf;
|
||||
lblUpdating.Visible = !showConf;
|
||||
#endif
|
||||
#if false
|
||||
try
|
||||
{
|
||||
updatePzBuoni();
|
||||
// sollevo evento!
|
||||
if (eh_inserting != null)
|
||||
{
|
||||
eh_inserting(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
txtNumPezzi.Text = "0";
|
||||
logger.lg.scriviLog(string.Format("Errore recupero pezzi da confermare per la macchina {0}", idxMacchinaSel), tipoLog.ERROR);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
if (showConf)
|
||||
{
|
||||
lblShowConfProd.Text = "Nascondi Conferma";
|
||||
}
|
||||
else
|
||||
{
|
||||
lblShowConfProd.Text = "Mostra Conferma";
|
||||
#if false
|
||||
// sollevo evento!
|
||||
if (eh_reset != null)
|
||||
{
|
||||
eh_reset(this, new EventArgs());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// cambio stato visibilità pannello e testo button
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbtShowConfProd_Click(object sender, EventArgs e)
|
||||
{
|
||||
showInnov = !showInnov;
|
||||
switchBtnConferma(showInnov);
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
switchBtnConferma(false);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
Generated
+188
@@ -0,0 +1,188 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MoonProTablet
|
||||
{
|
||||
|
||||
|
||||
public partial class Test2
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo PlaceHolder1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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.PlaceHolder PlaceHolder1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo BundleReference1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo BundleReference2.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo form1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfShowInnov.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 hfShowInnov;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtShowConfProd.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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.LinkButton lbtShowConfProd;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblShowConfProd.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 lblShowConfProd;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divInnovazioni.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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.HtmlControls.HtmlGenericControl divInnovazioni;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblDtRec.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 lblDtRec;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblNumPezzi.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 lblNumPezzi;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtNumPezzi.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 txtNumPezzi;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblPzSca2Rec.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 lblPzSca2Rec;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblPzBuo2Rec.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 lblPzBuo2Rec;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblPz2RecScarto.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 lblPz2RecScarto;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblPz2RecBuoni.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 lblPz2RecBuoni;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblNumLasciati.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 lblNumLasciati;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtNumLasciati.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 txtNumLasciati;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtSalva.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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.LinkButton lbtSalva;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblUpdating.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 lblUpdating;
|
||||
}
|
||||
}
|
||||
@@ -1,16 +1,33 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_confProd.ascx.cs" Inherits="MoonProTablet.WebUserControls.mod_confProd" %>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
<%-- var prm = Sys.WebForms.PageRequestManager.getInstance();
|
||||
prm.add_endRequest(function () {
|
||||
console.log("end prm!");
|
||||
document.getElementById('<%= lblUpdating.ClientID %>').hidden = true;
|
||||
});--%>
|
||||
|
||||
function hideConfirmButton() {
|
||||
//console.log('hide confirm');
|
||||
document.getElementById('<%= lbtSalva.ClientID %>').hidden = true
|
||||
document.getElementById('<%= lbtSalva.ClientID %>').hidden = true;
|
||||
document.getElementById('<%= lblUpdating.ClientID %>').hidden = false;
|
||||
}
|
||||
function showConfirmButton() {
|
||||
//console.log('show confirm');
|
||||
console.log('show confirm');
|
||||
document.getElementById('<%= lbtSalva.ClientID %>').hidden = false;
|
||||
document.getElementById('<%= lblUpdating.ClientID %>').hidden = true;
|
||||
}
|
||||
function fixDelayed() {
|
||||
console.log('start delay'); setTimeout(function () {
|
||||
console.log('after');
|
||||
document.getElementById('<%= lblUpdating.ClientID %>').hidden = true;
|
||||
}, 100);
|
||||
}
|
||||
</script>
|
||||
|
||||
<asp:HiddenField runat="server" ID="hfShowInnov" />
|
||||
|
||||
<div class="card bg-secondary">
|
||||
<div class="card-header p-0">
|
||||
<div class="row">
|
||||
@@ -19,7 +36,7 @@
|
||||
<i class="fa fa-check"></i> MOSTRA Conferma
|
||||
</asp:Label>
|
||||
<asp:Label runat="server" ID="lblMancaODL" Visible="false" ForeColor="Red">MANCA ODL: conferma NON permessa</asp:Label>
|
||||
<asp:LinkButton runat="server" ID="lbtShowConfProd" OnClick="lbtShowConfProd_Click" CssClass="btn btn-dark btn-lg btn-block">
|
||||
<asp:LinkButton runat="server" ID="lbtShowConfProd" OnClick="lbtShowConfProd_Click" CssClass="btn btn-dark btn-lg btn-block" OnClientClick="fixDelayed()">
|
||||
<i class="fa fa-check"></i>
|
||||
<asp:Label runat="server" ID="lblShowConfProd" />
|
||||
</asp:LinkButton>
|
||||
@@ -35,7 +52,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
<div class="row textCondens text-right bg-dark m-1 p-1" runat="server" id="divInnovazioni">
|
||||
<div class="row textCondens text-right bg-dark m-1 p-1" runat="server" id="divInnovazioni" onloadeddata="showConfirmButton()">
|
||||
<div class="col-6 py-1 text-left text-uppercase">
|
||||
<b>Dati Incrementali</b>
|
||||
</div>
|
||||
@@ -64,7 +81,8 @@
|
||||
<asp:TextBox runat="server" ID="txtNumLasciati" Font-Size="XX-Large" TextMode="Number" CssClass="form-control text-right alert alert-secondary py-0 mb-0" Enabled="true" AutoPostBack="True" OnTextChanged="txtNumLasciati_TextChanged" onfocus="hideConfirmButton()" onblur="showConfirmButton()" />
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 pl-1 align-self-end font-weight-bold">
|
||||
<asp:LinkButton runat="server" ID="lbtSalva" Visible="false" CssClass="btn btn-success text-light btn-lg btn-block" OnClick="lbtSalva_Click"><i class="fa fa-floppy-o"></i> CONFERMA</asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lbtSalva" CssClass="btn btn-success text-light btn-lg btn-block" OnClick="lbtSalva_Click"><i class="fa fa-floppy-o"></i> CONFERMA</asp:LinkButton>
|
||||
<asp:Label runat="server" ID="lblUpdating" CssClass="btn btn-secondary text-light btn-lg btn-block"><i class="fa fa-circle-o-notch fa-spin"></i> USER INPUT</asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -168,6 +168,20 @@ namespace MoonProTablet.WebUserControls
|
||||
}
|
||||
}
|
||||
|
||||
protected bool showInnov
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
bool.TryParse(hfShowInnov.Value, out answ);
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfShowInnov.Value = $"{value}";
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Public Properties
|
||||
@@ -308,8 +322,11 @@ namespace MoonProTablet.WebUserControls
|
||||
divInnovazioni.Visible = showConf;
|
||||
if (showConf)
|
||||
{
|
||||
#if false
|
||||
// continuo update
|
||||
lbtSalva.Visible = showConf;
|
||||
lblUpdating.Visible = !showConf;
|
||||
#endif
|
||||
try
|
||||
{
|
||||
updatePzBuoni();
|
||||
@@ -437,7 +454,8 @@ namespace MoonProTablet.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void lbtShowConfProd_Click(object sender, EventArgs e)
|
||||
{
|
||||
switchBtnConferma(!divInnovazioni.Visible);
|
||||
showInnov = !showInnov;
|
||||
switchBtnConferma(showInnov);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
+48
-28
@@ -7,11 +7,22 @@
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MoonProTablet.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_confProd {
|
||||
|
||||
namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class mod_confProd
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfShowInnov.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 hfShowInnov;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblConfProd.
|
||||
/// </summary>
|
||||
@@ -20,7 +31,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblConfProd;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblMancaODL.
|
||||
/// </summary>
|
||||
@@ -29,7 +40,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblMancaODL;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtShowConfProd.
|
||||
/// </summary>
|
||||
@@ -38,7 +49,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtShowConfProd;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblShowConfProd.
|
||||
/// </summary>
|
||||
@@ -47,7 +58,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblShowConfProd;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divSelMacc.
|
||||
/// </summary>
|
||||
@@ -56,7 +67,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSelMacc;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlSubMacc.
|
||||
/// </summary>
|
||||
@@ -65,7 +76,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlSubMacc;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// </summary>
|
||||
@@ -74,7 +85,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divInnovazioni.
|
||||
/// </summary>
|
||||
@@ -83,7 +94,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divInnovazioni;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblDtRec.
|
||||
/// </summary>
|
||||
@@ -92,7 +103,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblDtRec;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblNumPezzi.
|
||||
/// </summary>
|
||||
@@ -101,7 +112,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblNumPezzi;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtNumPezzi.
|
||||
/// </summary>
|
||||
@@ -110,7 +121,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtNumPezzi;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblPzSca2Rec.
|
||||
/// </summary>
|
||||
@@ -119,7 +130,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblPzSca2Rec;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblPzBuo2Rec.
|
||||
/// </summary>
|
||||
@@ -128,7 +139,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblPzBuo2Rec;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblPz2RecScarto.
|
||||
/// </summary>
|
||||
@@ -137,7 +148,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblPz2RecScarto;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblPz2RecBuoni.
|
||||
/// </summary>
|
||||
@@ -146,7 +157,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblPz2RecBuoni;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblNumLasciati.
|
||||
/// </summary>
|
||||
@@ -155,7 +166,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblNumLasciati;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtNumLasciati.
|
||||
/// </summary>
|
||||
@@ -164,7 +175,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtNumLasciati;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtSalva.
|
||||
/// </summary>
|
||||
@@ -173,7 +184,16 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtSalva;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblUpdating.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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 lblUpdating;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo updtRicerca.
|
||||
/// </summary>
|
||||
@@ -182,7 +202,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdateProgress updtRicerca;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblPz2RecTot.
|
||||
/// </summary>
|
||||
@@ -191,7 +211,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblPz2RecTot;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblPzTotODL.
|
||||
/// </summary>
|
||||
@@ -200,7 +220,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblPzTotODL;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblPzConfScarto.
|
||||
/// </summary>
|
||||
@@ -209,7 +229,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblPzConfScarto;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblPzConfBuoni.
|
||||
/// </summary>
|
||||
@@ -218,7 +238,7 @@ namespace MoonProTablet.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblPzConfBuoni;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblOut.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user