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)