diff --git a/GPW_Admin/WebUserControls/mod_adminFasi.ascx b/GPW_Admin/WebUserControls/mod_adminFasi.ascx index 26104f3..3642f13 100644 --- a/GPW_Admin/WebUserControls/mod_adminFasi.ascx +++ b/GPW_Admin/WebUserControls/mod_adminFasi.ascx @@ -1,12 +1,9 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_adminFasi.ascx.cs" Inherits="GPW_Admin.WebUserControls.mod_adminFasi" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %> -<% if (false) - { %> - -<% } %> +
@@ -42,7 +39,7 @@ + ToolTip='<%# traduci("NewFaseExpl") %>' Visible='<%# isWritable() && enableAddFasi %>' /> @@ -163,7 +160,7 @@ - + @@ -185,21 +182,21 @@ - <%: traduci("AddNewSubFase") %> + <%: traduci("AddNewSubFase") %> - <%# traduci("NewFaseExpl") %> + <%# traduci("NewFaseExpl") %> - + @@ -253,4 +250,4 @@
-
\ No newline at end of file + diff --git a/GPW_Admin/WebUserControls/mod_adminFasi.ascx.cs b/GPW_Admin/WebUserControls/mod_adminFasi.ascx.cs index 1f6a5c8..d3d3350 100644 --- a/GPW_Admin/WebUserControls/mod_adminFasi.ascx.cs +++ b/GPW_Admin/WebUserControls/mod_adminFasi.ascx.cs @@ -81,6 +81,23 @@ namespace GPW_Admin.WebUserControls } } + /// + /// determina se sia visibile pnl dettaglio RA della fase selezionata + /// + public bool enableAddFasi + { + get + { + bool answ = false; + bool.TryParse(hfEnableAdd.Value, out answ); + return answ; + } + set + { + hfEnableAdd.Value= $"{value}"; + } + } + /// /// idx del cliente selezionato /// diff --git a/GPW_Admin/WebUserControls/mod_adminFasi.ascx.designer.cs b/GPW_Admin/WebUserControls/mod_adminFasi.ascx.designer.cs index 2f77897..4451bad 100644 --- a/GPW_Admin/WebUserControls/mod_adminFasi.ascx.designer.cs +++ b/GPW_Admin/WebUserControls/mod_adminFasi.ascx.designer.cs @@ -23,6 +23,15 @@ namespace GPW_Admin.WebUserControls /// protected global::System.Web.UI.WebControls.HiddenField hfCardStyle; + /// + /// hfEnableAdd control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hfEnableAdd; + /// /// divCardMain control. /// diff --git a/GPW_Admin/fasi.aspx b/GPW_Admin/fasi.aspx index 068293f..8dcbf75 100644 --- a/GPW_Admin/fasi.aspx +++ b/GPW_Admin/fasi.aspx @@ -9,7 +9,7 @@ <%: traduci(titolo) %>
- +

Origine

- +
- +

Destinazione

@@ -38,4 +38,4 @@
- \ No newline at end of file + diff --git a/GPW_Admin/spostaFasi.aspx.designer.cs b/GPW_Admin/spostaFasi.aspx.designer.cs index a48c380..8d7749f 100644 --- a/GPW_Admin/spostaFasi.aspx.designer.cs +++ b/GPW_Admin/spostaFasi.aspx.designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ -// -// Codice generato da uno strumento. +// +// 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. -// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// //------------------------------------------------------------------------------ namespace GPW_Admin @@ -15,47 +15,47 @@ namespace GPW_Admin { /// - /// Controllo btnSposta. + /// btnSposta control. /// /// - /// 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. /// protected global::System.Web.UI.WebControls.Button btnSposta; /// - /// Controllo fasiFrom. + /// fasiFrom control. /// /// - /// 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. /// protected global::GPW_Admin.WebUserControls.mod_adminFasi fasiFrom; /// - /// Controllo btnClona. + /// btnClona control. /// /// - /// 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. /// protected global::System.Web.UI.WebControls.Button btnClona; /// - /// Controllo fasiTo. + /// fasiTo control. /// /// - /// 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. /// protected global::GPW_Admin.WebUserControls.mod_adminFasi fasiTo; /// - /// Controllo mod_pageSize. + /// mod_pageSize control. /// /// - /// 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. /// protected global::GPW_Admin.WebUserControls.mod_pageSize mod_pageSize; }