-
-
diff --git a/CMS_SC/DettScheda.aspx.cs b/CMS_SC/DettScheda.aspx.cs
index 25f8cc7..853cde2 100644
--- a/CMS_SC/DettScheda.aspx.cs
+++ b/CMS_SC/DettScheda.aspx.cs
@@ -15,14 +15,14 @@ namespace CMS_SC
{
((Bootstrap)this.Master).showSearch = true;
mod_righePag.numRowPag = 20;
- //mod_anagFasi.pageSize = mod_righePag.numRowPag;
+ mod_DettScheda.pageSize = mod_righePag.numRowPag;
}
mod_righePag.eh_newNum += mod_righePag_eh_newNum;
}
void mod_righePag_eh_newNum(object sender, EventArgs e)
{
- //mod_anagFasi.pageSize = mod_righePag.numRowPag;
+ mod_DettScheda.pageSize = mod_righePag.numRowPag;
}
}
}
\ No newline at end of file
diff --git a/CMS_SC/DettScheda.aspx.designer.cs b/CMS_SC/DettScheda.aspx.designer.cs
index 16fb923..d254f28 100644
--- a/CMS_SC/DettScheda.aspx.designer.cs
+++ b/CMS_SC/DettScheda.aspx.designer.cs
@@ -12,6 +12,15 @@ namespace CMS_SC {
public partial class DettScheda {
+ ///
+ /// mod_selSchedaUrl control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::CMS_SC.WebUserControls.mod_selSchedaUrl mod_selSchedaUrl;
+
///
/// mod_DettScheda control.
///
@@ -29,5 +38,14 @@ namespace CMS_SC {
/// To modify move field declaration from designer file to code-behind file.
///
protected global::mod_righePag mod_righePag;
+
+ ///
+ /// mod_validVal control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::CMS_SC.WebUserControls.mod_validVal mod_validVal;
}
}
diff --git a/CMS_SC/SchemaCollFamMacc.aspx b/CMS_SC/SchemaCollFamMacc.aspx
index 638c755..906558c 100644
--- a/CMS_SC/SchemaCollFamMacc.aspx
+++ b/CMS_SC/SchemaCollFamMacc.aspx
@@ -1,7 +1,7 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="SchemaCollFamMacc.aspx.cs" Inherits="CMS_SC.SchemaCollFamMacc" %>
<%@ Register Src="~/WebUserControls/mod_SchemaCollFamMacc.ascx" TagPrefix="uc1" TagName="mod_SchemaCollFamMacc" %>
-<%@ Register Src="~/WebUserControls/mod_righePag.ascx" TagName="mod_righePag" TagPrefix="uc2" %>
+<%@ Register Src="~/WebUserControls/mod_righePag.ascx" TagName="mod_righePag" TagPrefix="uc1" %>
@@ -12,7 +12,7 @@
diff --git a/CMS_SC/SchemaCollFamMacc.aspx.cs b/CMS_SC/SchemaCollFamMacc.aspx.cs
index dde0ea0..991bf13 100644
--- a/CMS_SC/SchemaCollFamMacc.aspx.cs
+++ b/CMS_SC/SchemaCollFamMacc.aspx.cs
@@ -15,14 +15,14 @@ namespace CMS_SC
{
((Bootstrap)this.Master).showSearch = true;
mod_righePag.numRowPag = 20;
- //mod_anagFasi.pageSize = mod_righePag.numRowPag;
+ mod_SchemaCollFamMacc.pageSize = mod_righePag.numRowPag;
}
mod_righePag.eh_newNum += mod_righePag_eh_newNum;
}
void mod_righePag_eh_newNum(object sender, EventArgs e)
{
- //mod_anagFasi.pageSize = mod_righePag.numRowPag;
+ mod_SchemaCollFamMacc.pageSize = mod_righePag.numRowPag;
}
}
}
\ No newline at end of file
diff --git a/CMS_SC/WebUserControls/mod_DettScheda.ascx b/CMS_SC/WebUserControls/mod_DettScheda.ascx
index 6754106..ef2c46a 100644
--- a/CMS_SC/WebUserControls/mod_DettScheda.ascx
+++ b/CMS_SC/WebUserControls/mod_DettScheda.ascx
@@ -1 +1,60 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_DettScheda.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_DettScheda" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/CMS_SC/WebUserControls/mod_DettScheda.ascx.cs b/CMS_SC/WebUserControls/mod_DettScheda.ascx.cs
index bd82318..e069665 100644
--- a/CMS_SC/WebUserControls/mod_DettScheda.ascx.cs
+++ b/CMS_SC/WebUserControls/mod_DettScheda.ascx.cs
@@ -4,6 +4,7 @@ using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
+using CMS_SC_Data;
namespace CMS_SC.WebUserControls
{
@@ -13,5 +14,31 @@ namespace CMS_SC.WebUserControls
{
}
+ ///
+ /// dimensione pagina grid view
+ ///
+ public int pageSize
+ {
+ get
+ {
+ return grView.PageSize;
+ }
+ set
+ {
+ grView.PageSize = value;
+ }
+ }
+ ///
+ /// richiesta di aggiunta record, tutto a zero!
+ ///
+ ///
+ ///
+ protected void lbAddNew_Click(object sender, EventArgs e)
+ {
+ // inserisco nuovo record
+ DtProxy.man.taAF.insertQuery("000000", "000000 Nuova Fase");
+ // update!
+ grView.DataBind();
+ }
}
}
\ No newline at end of file
diff --git a/CMS_SC/WebUserControls/mod_DettScheda.ascx.designer.cs b/CMS_SC/WebUserControls/mod_DettScheda.ascx.designer.cs
index d60706a..987e57d 100644
--- a/CMS_SC/WebUserControls/mod_DettScheda.ascx.designer.cs
+++ b/CMS_SC/WebUserControls/mod_DettScheda.ascx.designer.cs
@@ -3,15 +3,31 @@
// 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 CMS_SC.WebUserControls
-{
-
-
- public partial class mod_DettScheda
- {
+namespace CMS_SC.WebUserControls {
+
+
+ public partial class mod_DettScheda {
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
}
}
diff --git a/CMS_SC/WebUserControls/mod_SchemaCollFamMacc.ascx b/CMS_SC/WebUserControls/mod_SchemaCollFamMacc.ascx
index 1003090..a29deda 100644
--- a/CMS_SC/WebUserControls/mod_SchemaCollFamMacc.ascx
+++ b/CMS_SC/WebUserControls/mod_SchemaCollFamMacc.ascx
@@ -1 +1,60 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_SchemaCollFamMacc.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_SchemaCollFamMacc" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/CMS_SC/WebUserControls/mod_SchemaCollFamMacc.ascx.cs b/CMS_SC/WebUserControls/mod_SchemaCollFamMacc.ascx.cs
index ef6d985..f2f4caa 100644
--- a/CMS_SC/WebUserControls/mod_SchemaCollFamMacc.ascx.cs
+++ b/CMS_SC/WebUserControls/mod_SchemaCollFamMacc.ascx.cs
@@ -4,6 +4,7 @@ using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
+using CMS_SC_Data;
namespace CMS_SC.WebUserControls
{
@@ -13,5 +14,31 @@ namespace CMS_SC.WebUserControls
{
}
+ ///
+ /// dimensione pagina grid view
+ ///
+ public int pageSize
+ {
+ get
+ {
+ return grView.PageSize;
+ }
+ set
+ {
+ grView.PageSize = value;
+ }
+ }
+ ///
+ /// richiesta di aggiunta record, tutto a zero!
+ ///
+ ///
+ ///
+ protected void lbAddNew_Click(object sender, EventArgs e)
+ {
+ // inserisco nuovo record
+ DtProxy.man.taAF.insertQuery("000000", "000000 Nuova Fase");
+ // update!
+ grView.DataBind();
+ }
}
}
\ No newline at end of file
diff --git a/CMS_SC/WebUserControls/mod_SchemaCollFamMacc.ascx.designer.cs b/CMS_SC/WebUserControls/mod_SchemaCollFamMacc.ascx.designer.cs
index bebf2bc..d1b68a5 100644
--- a/CMS_SC/WebUserControls/mod_SchemaCollFamMacc.ascx.designer.cs
+++ b/CMS_SC/WebUserControls/mod_SchemaCollFamMacc.ascx.designer.cs
@@ -3,15 +3,31 @@
// 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 CMS_SC.WebUserControls
-{
-
-
- public partial class mod_SchemaCollFamMacc
- {
+namespace CMS_SC.WebUserControls {
+
+
+ public partial class mod_SchemaCollFamMacc {
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
}
}
diff --git a/CMS_SC/WebUserControls/mod_anagSchedeColl.ascx b/CMS_SC/WebUserControls/mod_anagSchedeColl.ascx
index a01a18a..b63db74 100644
--- a/CMS_SC/WebUserControls/mod_anagSchedeColl.ascx
+++ b/CMS_SC/WebUserControls/mod_anagSchedeColl.ascx
@@ -1,5 +1,5 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_anagSchedeColl.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_anagSchedeColl" %>
-
+
diff --git a/CMS_SC/WebUserControls/mod_anagSchedeColl.ascx.cs b/CMS_SC/WebUserControls/mod_anagSchedeColl.ascx.cs
index 5714097..fb4a5b7 100644
--- a/CMS_SC/WebUserControls/mod_anagSchedeColl.ascx.cs
+++ b/CMS_SC/WebUserControls/mod_anagSchedeColl.ascx.cs
@@ -5,6 +5,7 @@ using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CMS_SC_Data;
+using SteamWare;
namespace CMS_SC.WebUserControls
{
@@ -40,5 +41,12 @@ namespace CMS_SC.WebUserControls
// update!
grView.DataBind();
}
+
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ // mando a dettaglio scheda...
+ string codScheda = string.Format("{0}.{1}", grView.SelectedDataKey["CodScheda"], grView.SelectedDataKey["Vers"]);
+ Response.Redirect(string.Format("~/DettScheda?CodScheda={0}", codScheda));
+ }
}
}
\ No newline at end of file
diff --git a/CMS_SC/WebUserControls/mod_selSchedaUrl.ascx b/CMS_SC/WebUserControls/mod_selSchedaUrl.ascx
new file mode 100644
index 0000000..74265ca
--- /dev/null
+++ b/CMS_SC/WebUserControls/mod_selSchedaUrl.ascx
@@ -0,0 +1,3 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_selSchedaUrl.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_selSchedaUrl" %>
+
+
diff --git a/CMS_SC/WebUserControls/mod_selSchedaUrl.ascx.cs b/CMS_SC/WebUserControls/mod_selSchedaUrl.ascx.cs
new file mode 100644
index 0000000..0a40674
--- /dev/null
+++ b/CMS_SC/WebUserControls/mod_selSchedaUrl.ascx.cs
@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+
+namespace CMS_SC.WebUserControls
+{
+ public partial class mod_selSchedaUrl : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ // cerco in URL cod scheda, se c'è seleziono...
+ if (memLayer.ML.QSS("CodScheda") != "")
+ {
+ ddlSelScheda.SelectedValue = memLayer.ML.QSS("CodScheda");
+ }
+ }
+ }
+ ///
+ /// salvo (con URL) scheda selezionata)
+ ///
+ ///
+ ///
+ protected void ddlSelScheda_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Response.Redirect(string.Format("{0}?CodScheda={1}", devicesAuthProxy.pagCorrente, ddlSelScheda.SelectedValue));
+ }
+ }
+}
\ No newline at end of file
diff --git a/CMS_SC/WebUserControls/mod_selSchedaUrl.ascx.designer.cs b/CMS_SC/WebUserControls/mod_selSchedaUrl.ascx.designer.cs
new file mode 100644
index 0000000..27862b0
--- /dev/null
+++ b/CMS_SC/WebUserControls/mod_selSchedaUrl.ascx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace CMS_SC.WebUserControls {
+
+
+ public partial class mod_selSchedaUrl {
+
+ ///
+ /// ddlSelScheda control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlSelScheda;
+
+ ///
+ /// odsScheda control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsScheda;
+ }
+}
diff --git a/CMS_SC/WebUserControls/mod_testata.ascx b/CMS_SC/WebUserControls/mod_testata.ascx
index 57171db..2e7dd3c 100644
--- a/CMS_SC/WebUserControls/mod_testata.ascx
+++ b/CMS_SC/WebUserControls/mod_testata.ascx
@@ -39,14 +39,14 @@
diff --git a/CMS_SC/WebUserControls/mod_validVal.ascx b/CMS_SC/WebUserControls/mod_validVal.ascx
new file mode 100644
index 0000000..a438316
--- /dev/null
+++ b/CMS_SC/WebUserControls/mod_validVal.ascx
@@ -0,0 +1 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_validVal.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_validVal" %>
diff --git a/CMS_SC/WebUserControls/mod_validVal.ascx.cs b/CMS_SC/WebUserControls/mod_validVal.ascx.cs
new file mode 100644
index 0000000..30cbe04
--- /dev/null
+++ b/CMS_SC/WebUserControls/mod_validVal.ascx.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace CMS_SC.WebUserControls
+{
+ public partial class mod_validVal : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/CMS_SC/WebUserControls/mod_validVal.ascx.designer.cs b/CMS_SC/WebUserControls/mod_validVal.ascx.designer.cs
new file mode 100644
index 0000000..045d50d
--- /dev/null
+++ b/CMS_SC/WebUserControls/mod_validVal.ascx.designer.cs
@@ -0,0 +1,17 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace CMS_SC.WebUserControls
+{
+
+
+ public partial class mod_validVal
+ {
+ }
+}
diff --git a/CMS_SC/bin/CMS-SC-Data.dll b/CMS_SC/bin/CMS-SC-Data.dll
index ddadb63..b15a94f 100644
Binary files a/CMS_SC/bin/CMS-SC-Data.dll and b/CMS_SC/bin/CMS-SC-Data.dll differ
diff --git a/CMS_SC/bin/CMS_SC.dll b/CMS_SC/bin/CMS_SC.dll
index e85f995..7fb5c51 100644
Binary files a/CMS_SC/bin/CMS_SC.dll and b/CMS_SC/bin/CMS_SC.dll differ
diff --git a/CMS_SC/bin/SteamWare.dll b/CMS_SC/bin/SteamWare.dll
index ce12818..512a39b 100644
Binary files a/CMS_SC/bin/SteamWare.dll and b/CMS_SC/bin/SteamWare.dll differ