diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index befb1ab..43d5aa6 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -288,6 +288,7 @@ + @@ -405,7 +406,6 @@ - @@ -442,6 +442,7 @@ + @@ -654,6 +655,13 @@ Empty.Master + + 404.aspx + ASPXCodeBehind + + + 404.aspx + Oops.aspx ASPXCodeBehind @@ -731,13 +739,6 @@ DevUtils.aspx - - ErrorPage.aspx - ASPXCodeBehind - - - ErrorPage.aspx - ErrorsLog.aspx ASPXCodeBehind @@ -1008,6 +1009,13 @@ cmp_devUtils.ascx + + cmp_errorDetail.ascx + ASPXCodeBehind + + + cmp_errorDetail.ascx + cmp_ErrorsLog.ascx ASPXCodeBehind diff --git a/NKC_WF/Site.Master.cs b/NKC_WF/Site.Master.cs index 5e10eda..9859707 100644 --- a/NKC_WF/Site.Master.cs +++ b/NKC_WF/Site.Master.cs @@ -15,7 +15,7 @@ namespace NKC_WF // faccio refresh pagina... } /// - /// Imposta vilibilità componente search globale + /// Imposta visibilità componente search globale /// public bool showSearch { @@ -28,5 +28,19 @@ namespace NKC_WF cmp_menuTop.showSearch = value; } } + /// + /// Imposta abilitazione anonymous (senza fare auth) + /// + public bool enableAnonym + { + get + { + return cmp_menuTop.enableAnonym; + } + set + { + cmp_menuTop.enableAnonym = value; + } + } } } \ No newline at end of file diff --git a/NKC_WF/SiteContent.master.cs b/NKC_WF/SiteContent.master.cs index 6f02653..93f0b42 100644 --- a/NKC_WF/SiteContent.master.cs +++ b/NKC_WF/SiteContent.master.cs @@ -9,7 +9,7 @@ namespace NKC_WF } /// - /// Imposta vilibilità componente search globale + /// Imposta visibilità componente search globale /// public bool showSearch { @@ -22,5 +22,19 @@ namespace NKC_WF ((SiteMaster)Master).showSearch = value; } } + /// + /// Imposta abilitazione anonymous (senza fare auth) + /// + public bool enableAnonym + { + get + { + return ((SiteMaster)Master).enableAnonym; + } + set + { + ((SiteMaster)Master).enableAnonym = value; + } + } } } \ No newline at end of file diff --git a/NKC_WF/Web.config b/NKC_WF/Web.config index 304b47c..179a7e4 100644 --- a/NKC_WF/Web.config +++ b/NKC_WF/Web.config @@ -38,9 +38,11 @@ - + + + - + diff --git a/NKC_WF/site/Login.aspx.cs b/NKC_WF/site/Login.aspx.cs index 5786b6e..8b83319 100644 --- a/NKC_WF/site/Login.aspx.cs +++ b/NKC_WF/site/Login.aspx.cs @@ -25,7 +25,7 @@ namespace NKC_WF private void Cmp_login_Login_Error(object sender, EventArgs e) { - Response.Redirect("ErrorPage?LastError=LoginError"); + Response.Redirect("~/ErrorPages/Oops?aspxerrorpath=Login"); } private void Cmp_login_Login_ok(object sender, EventArgs e)