fix selezione task packList pedane

This commit is contained in:
Samuele Locatelli
2021-04-21 12:29:21 +02:00
parent e377d88a1b
commit a674372de6
2 changed files with 34 additions and 31 deletions
+5 -2
View File
@@ -22,7 +22,7 @@ namespace MP_MAG.SMART
{
cmp_gestPedane.Visible = value;
ddlElencoPL.Enabled = !value;
lblSel.Text = value ? "Sblocca" : "Blocca";
lblSel.Text = value ? "Deselect" : "Select";
icnLock.Visible = !value;
icnUnlock.Visible = value;
}
@@ -81,9 +81,12 @@ namespace MP_MAG.SMART
protected void lbtSelect_Click(object sender, EventArgs e)
{
if (showDetail)
{
ddlElencoPL.DataBind();
}
// scambio visualizzazione e selezione...
showDetail = !showDetail;
ddlElencoPL.DataBind();
fixDisplay();
}
+29 -29
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
// <auto-generated>
// This code was generated by a tool.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MP_MAG.SMART
@@ -15,74 +15,74 @@ namespace MP_MAG.SMART
{
/// <summary>
/// Controllo pnlPL01.
/// pnlPL01 control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel pnlPL01;
/// <summary>
/// Controllo ddlElencoPL.
/// ddlElencoPL control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlElencoPL;
/// <summary>
/// Controllo odsPL.
/// odsPL control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsPL;
/// <summary>
/// Controllo lbtSelect.
/// lbtSelect control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtSelect;
/// <summary>
/// Controllo icnUnlock.
/// icnUnlock control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl icnUnlock;
/// <summary>
/// Controllo lblSel.
/// lblSel control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblSel;
/// <summary>
/// Controllo icnLock.
/// icnLock control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl icnLock;
/// <summary>
/// Controllo cmp_gestPedane.
/// cmp_gestPedane control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::MP_MAG.WebUserControls.cmp_gestPedane cmp_gestPedane;
}