From 6f360fcd4f6d3544abe74d9835df3c9337d62848 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 4 Jan 2021 17:56:27 +0100 Subject: [PATCH] Fix comportamento edit/preview STech --- MP-ADM/WebUserControls/cmp_ST_detail.ascx | 2 -- MP-ADM/WebUserControls/cmp_ST_detail.ascx.cs | 17 ----------------- .../cmp_ST_detail.ascx.designer.cs | 9 --------- MP-ADM/WebUserControls/cmp_ST_preview.ascx.cs | 2 +- 4 files changed, 1 insertion(+), 29 deletions(-) diff --git a/MP-ADM/WebUserControls/cmp_ST_detail.ascx b/MP-ADM/WebUserControls/cmp_ST_detail.ascx index 6f0e7406..7aae78c0 100644 --- a/MP-ADM/WebUserControls/cmp_ST_detail.ascx +++ b/MP-ADM/WebUserControls/cmp_ST_detail.ascx @@ -1,8 +1,6 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_ST_detail.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_ST_detail" %> <%@ Register Src="~/WebUserControls/cmp_ST_objView.ascx" TagPrefix="uc1" TagName="cmp_ST_objView" %> - -
diff --git a/MP-ADM/WebUserControls/cmp_ST_detail.ascx.cs b/MP-ADM/WebUserControls/cmp_ST_detail.ascx.cs index 1d2e175b..4b81539e 100644 --- a/MP-ADM/WebUserControls/cmp_ST_detail.ascx.cs +++ b/MP-ADM/WebUserControls/cmp_ST_detail.ascx.cs @@ -41,22 +41,6 @@ namespace MP_ADM.WebUserControls #region Private Methods - /// - /// check ODL presente - /// - private void fixWarning() - { - if (IdxST == 0) - { - lblWarning.Text = traduci("MancaIdxST"); - lblWarning.Visible = true; - } - else - { - lblWarning.Text = ""; - lblWarning.Visible = false; - } - } #endregion Private Methods @@ -64,7 +48,6 @@ namespace MP_ADM.WebUserControls protected void Page_Load(object sender, EventArgs e) { - fixWarning(); } #endregion Protected Methods diff --git a/MP-ADM/WebUserControls/cmp_ST_detail.ascx.designer.cs b/MP-ADM/WebUserControls/cmp_ST_detail.ascx.designer.cs index 93cc0728..8dd7c03e 100644 --- a/MP-ADM/WebUserControls/cmp_ST_detail.ascx.designer.cs +++ b/MP-ADM/WebUserControls/cmp_ST_detail.ascx.designer.cs @@ -14,15 +14,6 @@ namespace MP_ADM.WebUserControls public partial class cmp_ST_detail { - /// - /// Controllo lblWarning. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.Label lblWarning; - /// /// Controllo repDetail. /// diff --git a/MP-ADM/WebUserControls/cmp_ST_preview.ascx.cs b/MP-ADM/WebUserControls/cmp_ST_preview.ascx.cs index e6492308..f3510bf7 100644 --- a/MP-ADM/WebUserControls/cmp_ST_preview.ascx.cs +++ b/MP-ADM/WebUserControls/cmp_ST_preview.ascx.cs @@ -32,7 +32,7 @@ namespace MP_ADM.WebUserControls protected void lbtDoEdit_Click(object sender, EventArgs e) { - raiseSelNew(); + raiseNewVal(); } protected void Page_Load(object sender, EventArgs e)