diff --git a/C2P/WebUserControls/mod_S_ExtrPar.ascx b/C2P/WebUserControls/mod_S_ExtrPar.ascx
index 099a569..5d2617b 100644
--- a/C2P/WebUserControls/mod_S_ExtrPar.ascx
+++ b/C2P/WebUserControls/mod_S_ExtrPar.ascx
@@ -1,5 +1,96 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_S_ExtrPar.ascx.cs" Inherits="C2P.WebUserControls.mod_S_ExtrPar" %>
-<%@ Register src="~/WebUserControls/mod_Q_ExtrPar.ascx" tagname="mod_Q_ExtrPar" tagprefix="uc1" %>
-
+<%if (false)
+ { %>
+
+
+<%} %>
+<%@ Register Src="~/WebUserControls/mod_display.ascx" TagName="mod_display" TagPrefix="uc1" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/C2P/WebUserControls/mod_S_ExtrPar.ascx.cs b/C2P/WebUserControls/mod_S_ExtrPar.ascx.cs
index 3adcd3d..08dfadd 100644
--- a/C2P/WebUserControls/mod_S_ExtrPar.ascx.cs
+++ b/C2P/WebUserControls/mod_S_ExtrPar.ascx.cs
@@ -7,11 +7,27 @@ using System.Web.UI.WebControls;
namespace C2P.WebUserControls
{
- public partial class mod_S_ExtrPar : System.Web.UI.UserControl
+ public partial class mod_S_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_S_ExtrPar.ascx.designer.cs b/C2P/WebUserControls/mod_S_ExtrPar.ascx.designer.cs
index ffb1b2a..3491488 100644
--- a/C2P/WebUserControls/mod_S_ExtrPar.ascx.designer.cs
+++ b/C2P/WebUserControls/mod_S_ExtrPar.ascx.designer.cs
@@ -13,12 +13,39 @@ namespace C2P.WebUserControls {
public partial class mod_S_ExtrPar {
///
- /// mod_Q_ExtrPar1 control.
+ /// BundleReference1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::C2P.WebUserControls.mod_Q_ExtrPar mod_Q_ExtrPar1;
+ 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;
}
}