diff --git a/NKC_WF/WebUserControls/cmp_labelsPrint.ascx b/NKC_WF/WebUserControls/cmp_labelsPrint.ascx index b3d8044..cf8104d 100644 --- a/NKC_WF/WebUserControls/cmp_labelsPrint.ascx +++ b/NKC_WF/WebUserControls/cmp_labelsPrint.ascx @@ -56,9 +56,6 @@
-
- <%: traduci("ResetSel") %> -
diff --git a/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.cs b/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.cs index 1b98364..9c4c21a 100644 --- a/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.cs @@ -367,7 +367,6 @@ namespace NKC_WF.WebUserControls lblItemDtmx.Text = itemRow.ItemDtmx; itemIdSelected = itemRow.ItemID; } - lbtResetSel.Visible = (itemIdSelected != 0); } public int itemIdSelected @@ -394,7 +393,6 @@ namespace NKC_WF.WebUserControls lblDestination.Text = ""; lblLastBCode.Text = ""; lbtCancel.Visible = false; - lbtResetSel.Visible = (itemIdSelected != 0); } protected DS_App.BinsDataTable currBinTab @@ -419,8 +417,6 @@ namespace NKC_WF.WebUserControls private void fixVisibility() { - // fix btn reset! - lbtResetSel.Visible = (itemIdSelected != 0); } protected void lbtCancel_Click(object sender, EventArgs e) @@ -430,17 +426,5 @@ namespace NKC_WF.WebUserControls resetDisplay(true); showItemDetail(false, null, false); } - protected void lbtResetSel_Click(object sender, EventArgs e) - { - var tabSheet = DataLayer.man.taSHL.getByItemID(itemIdSelected); - if (tabSheet.Count == 1) - { - resetShowData(); - // resetto sheet selezionato... - DataLayer.man.taIL.updateSheetStatusPU(tabSheet[0].SheetID, PlaceId); - resetDisplay(true); - showItemDetail(false, null, false); - } - } } } \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.designer.cs index f44e8f4..8d57dee 100644 --- a/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.designer.cs +++ b/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.designer.cs @@ -202,14 +202,5 @@ namespace NKC_WF.WebUserControls /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.Label lblDestination; - - /// - /// Controllo lbtResetSel. - /// - /// - /// 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.LinkButton lbtResetSel; } }