Removed unused reset sel for labels print
This commit is contained in:
@@ -56,9 +56,6 @@
|
||||
<asp:Label runat="server" ID="lblMessage" /><br />
|
||||
<asp:Label runat="server" ID="lblDestination" />
|
||||
</div>
|
||||
<div class="col-12 px-0">
|
||||
<asp:LinkButton runat="server" ID="lbtResetSel" CssClass="btn btn-block btn-warning text-uppercase" OnClick="lbtResetSel_Click"><i class="fa fa-ban" aria-hidden="true"></i> <%: traduci("ResetSel") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -202,14 +202,5 @@ namespace NKC_WF.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 lblDestination;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtResetSel.
|
||||
/// </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 lbtResetSel;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user