+
+
+
<%: traduci("Update") %>
+
+
+
<%: traduci("Cancel") %>
+
+
+ --%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<%--
+
+
+
--%>
diff --git a/C2P/WebUserControls/mod_Q_ExtrPar.ascx.cs b/C2P/WebUserControls/mod_Q_ExtrPar.ascx.cs
index 24cecc8..d260a51 100644
--- a/C2P/WebUserControls/mod_Q_ExtrPar.ascx.cs
+++ b/C2P/WebUserControls/mod_Q_ExtrPar.ascx.cs
@@ -7,11 +7,27 @@ using System.Web.UI.WebControls;
namespace C2P.WebUserControls
{
- public partial class mod_Q_ExtrPar : System.Web.UI.UserControl
+ public partial class mod_Q_ExtrPar : SteamWare.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
+
+ ///
+ /// fa toggle tra modo edit e read/item
+ ///
+ public void toggleMode()
+ {
+ if (frmView.CurrentMode == FormViewMode.ReadOnly)
+ {
+ frmView.ChangeMode(FormViewMode.Edit);
+ }
+ else
+ {
+ frmView.ChangeMode(FormViewMode.ReadOnly);
+ }
+ }
+
}
}
\ No newline at end of file
diff --git a/C2P/WebUserControls/mod_Q_ExtrPar.ascx.designer.cs b/C2P/WebUserControls/mod_Q_ExtrPar.ascx.designer.cs
index 1e3c01b..14db0b2 100644
--- a/C2P/WebUserControls/mod_Q_ExtrPar.ascx.designer.cs
+++ b/C2P/WebUserControls/mod_Q_ExtrPar.ascx.designer.cs
@@ -3,15 +3,49 @@
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// the code is regenerated.
//
//------------------------------------------------------------------------------
-namespace C2P.WebUserControls
-{
-
-
- public partial class mod_Q_ExtrPar
- {
+namespace C2P.WebUserControls {
+
+
+ public partial class mod_Q_ExtrPar {
+
+ ///
+ /// BundleReference1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference1;
+
+ ///
+ /// BundleReference2 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2;
+
+ ///
+ /// frmView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.FormView frmView;
+
+ ///
+ /// odsQuotes control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsQuotes;
}
}
diff --git a/C2P/WebUserControls/mod_Q_Header.ascx b/C2P/WebUserControls/mod_Q_Header.ascx
index c67cb63..dab0d17 100644
--- a/C2P/WebUserControls/mod_Q_Header.ascx
+++ b/C2P/WebUserControls/mod_Q_Header.ascx
@@ -1,10 +1,11 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_Q_Header.ascx.cs" Inherits="C2P.WebUserControls.mod_Q_Header" %>
-
-
+<%if (false)
+ { %>
+
+
+<%} %>
<%@ Register Src="~/WebUserControls/mod_display.ascx" TagName="mod_display" TagPrefix="uc1" %>
-
-
@@ -107,11 +108,11 @@
-
+
-
-
-
+
+
+
@@ -128,9 +129,6 @@
-
-
-
diff --git a/C2P/WebUserControls/mod_Q_Header.ascx.cs b/C2P/WebUserControls/mod_Q_Header.ascx.cs
index 5a83435..be75c57 100644
--- a/C2P/WebUserControls/mod_Q_Header.ascx.cs
+++ b/C2P/WebUserControls/mod_Q_Header.ascx.cs
@@ -12,48 +12,6 @@ namespace C2P.WebUserControls
protected void Page_Load(object sender, EventArgs e)
{
- }
- ///
- /// tipo di quote x la scheda corrente
- ///
- public string QuoteType
- {
- get
- {
- return lblQuoteType.Text;
- }
- set
- {
- lblQuoteType.Text = value;
- }
- }
- ///
- /// codice quote x la scheda corrente
- ///
- public string CodQuote
- {
- get
- {
- return lblCodQuote.Text;
- }
- set
- {
- lblCodQuote.Text = value;
- }
- }
- ///
- /// rev quote x la scheda corrente
- ///
- public string QuoteRev
- {
- get
- {
- return lblQuoteRev.Text;
- }
- set
- {
- lblQuoteRev.Text = value;
- }
}
///
/// fa toggle tra modo edit e read/item
@@ -70,9 +28,5 @@ namespace C2P.WebUserControls
}
}
- protected void odsQuotes_Updating(object sender, ObjectDataSourceMethodEventArgs e)
- {
-
- }
}
}
\ No newline at end of file
diff --git a/C2P/WebUserControls/mod_Q_Header.ascx.designer.cs b/C2P/WebUserControls/mod_Q_Header.ascx.designer.cs
index a45a6e2..37030b7 100644
--- a/C2P/WebUserControls/mod_Q_Header.ascx.designer.cs
+++ b/C2P/WebUserControls/mod_Q_Header.ascx.designer.cs
@@ -12,6 +12,24 @@ namespace C2P.WebUserControls {
public partial class mod_Q_Header {
+ ///
+ /// BundleReference1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference1;
+
+ ///
+ /// BundleReference2 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2;
+
///
/// frmView control.
///
@@ -30,33 +48,6 @@ namespace C2P.WebUserControls {
///
protected global::System.Web.UI.WebControls.ObjectDataSource odsQuotes;
- ///
- /// lblQuoteType control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblQuoteType;
-
- ///
- /// lblCodQuote control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblCodQuote;
-
- ///
- /// lblQuoteRev control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblQuoteRev;
-
///
/// odsProducts control.
///
diff --git a/C2P/WebUserControls/mod_QuoteDet.ascx.cs b/C2P/WebUserControls/mod_QuoteDet.ascx.cs
index f2345a7..cb2b767 100644
--- a/C2P/WebUserControls/mod_QuoteDet.ascx.cs
+++ b/C2P/WebUserControls/mod_QuoteDet.ascx.cs
@@ -23,7 +23,6 @@ namespace C2P.WebUserControls
set
{
lblQuoteType.Text = value;
- mod_Q_Header1.QuoteType = value;
}
}
///
@@ -38,7 +37,6 @@ namespace C2P.WebUserControls
set
{
lblCodQuote.Text = value;
- mod_Q_Header1.CodQuote = value;
}
}
///
@@ -53,7 +51,6 @@ namespace C2P.WebUserControls
set
{
lblQuoteRev.Text = value;
- mod_Q_Header1.QuoteRev = value;
}
}
///
diff --git a/C2P/WebUserControls/mod_testata.ascx.cs b/C2P/WebUserControls/mod_testata.ascx.cs
index f3628c8..7883f41 100644
--- a/C2P/WebUserControls/mod_testata.ascx.cs
+++ b/C2P/WebUserControls/mod_testata.ascx.cs
@@ -10,14 +10,14 @@ namespace C2P.WebUserControls
{
public partial class mod_testata : System.Web.UI.UserControl
{
- ///
- /// nome della pagina correntemente caricata
- ///
- public string _paginaCorrente;
- ///
- /// memorizza la pagina precedente (ovvero la corrente ma non da page-object ma in session...
- ///
- public string _paginaPrecedente;
+ /////
+ ///// nome della pagina correntemente caricata
+ /////
+ //public string _paginaCorrente;
+ /////
+ ///// memorizza la pagina precedente (ovvero la corrente ma non da page-object ma in session...
+ /////
+ //public string _paginaPrecedente;
///
/// caricamento pagina
///
@@ -35,7 +35,7 @@ namespace C2P.WebUserControls
string answ = "";
try
{
- if (_paginaCorrente.IndexOf(nomeElem) >= 0) answ = "active";
+ if (user_std.pagCorrente.IndexOf(nomeElem) >= 0) answ = "active";
}
catch
{ }
@@ -51,17 +51,8 @@ namespace C2P.WebUserControls
char[] delimiter = delimStr.ToCharArray();
string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter);
int n = finalUrl.Length;
- _paginaCorrente = finalUrl[n - 1].ToString();
- if (_paginaPrecedente == "")
- {
- _paginaPrecedente = _paginaCorrente;
- memLayer.ML.setSessionVal("_paginaPrecedente", _paginaPrecedente);
- }
- if (_paginaCorrente != _paginaPrecedente)
- {
- _paginaPrecedente = _paginaCorrente;
- memLayer.ML.setSessionVal("_paginaPrecedente", _paginaPrecedente);
- }
+ user_std.pagCorrente = finalUrl[n - 1].ToString();
+ user_std.pagPrecedente = Request.Url.ToString();
}
///
/// wrapper traduzione
diff --git a/C2P/bin/C2P.dll b/C2P/bin/C2P.dll
index 1019a9c..3b3ba14 100644
Binary files a/C2P/bin/C2P.dll and b/C2P/bin/C2P.dll differ
diff --git a/C2P/bin/C2P_Data.dll b/C2P/bin/C2P_Data.dll
index 9299750..1745f02 100644
Binary files a/C2P/bin/C2P_Data.dll and b/C2P/bin/C2P_Data.dll differ
diff --git a/C2P/bin/C2P_Data.pdb b/C2P/bin/C2P_Data.pdb
index c92df27..1e55a11 100644
Binary files a/C2P/bin/C2P_Data.pdb and b/C2P/bin/C2P_Data.pdb differ
diff --git a/C2P/bin/SteamWare.dll b/C2P/bin/SteamWare.dll
index e6ac2ed..2d558bd 100644
Binary files a/C2P/bin/SteamWare.dll and b/C2P/bin/SteamWare.dll differ