diff --git a/XPS/AnagraficaEventi.aspx b/XPS/AnagraficaEventi.aspx index 66ca24a..6742198 100644 --- a/XPS/AnagraficaEventi.aspx +++ b/XPS/AnagraficaEventi.aspx @@ -2,7 +2,6 @@ CodeFile="AnagraficaEventi.aspx.cs" Inherits="AnagraficaEventi" Title="Untitled Page" %> <%@ Register Src="mod_ev2stati.ascx" TagName="mod_ev2stati" TagPrefix="uc2" %> -<%@ Register Src="mod_ev2step.ascx" TagName="mod_ev2step" TagPrefix="uc3" %> <%@ Register Src="mod_anagraficaEventi.ascx" TagName="mod_anagraficaEventi" TagPrefix="uc1" %> <%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc4" %> @@ -10,10 +9,16 @@ - -
+
- - + + +
+
+ +
@@ -21,12 +26,7 @@
- Stati: - - - Steps: - +
diff --git a/XPS/AnagraficaEventi.aspx.cs b/XPS/AnagraficaEventi.aspx.cs index c9b9283..cf88110 100644 --- a/XPS/AnagraficaEventi.aspx.cs +++ b/XPS/AnagraficaEventi.aspx.cs @@ -15,20 +15,35 @@ public partial class AnagraficaEventi : System.Web.UI.Page { if (!Page.IsPostBack) { - Mod_filtro1.ods = odsFiltro; + Mod_filtroMappa.ods = odsMappa; + Mod_filtroTipoObj.ods = odsTipoObj; } Mod_anagraficaEventi1.eh_selValore += new EventHandler(Mod_anagraficaEventi1_eh_selValore); Mod_anagraficaEventi1.eh_resetSelezione += new EventHandler(Mod_anagraficaEventi1_eh_resetSelezione); - Mod_filtro1.eh_selValore += new EventHandler(Mod_filtro1_eh_selValore); + Mod_filtroMappa.eh_selValore += new EventHandler(Mod_filtroMappa_eh_selValore); + Mod_filtroTipoObj.eh_selValore += new EventHandler(Mod_filtroTipoObj_eh_selValore); } - void Mod_filtro1_eh_selValore(object sender, EventArgs e) + void Mod_filtroTipoObj_eh_selValore(object sender, EventArgs e) { // salvo in session - SteamWare.memLayer.ML.setSessionVal("IdxTipoObj_sel", Mod_filtro1.valoreInt, false); + SteamWare.memLayer.ML.setSessionVal("CodMappa_sel", Mod_filtroMappa.valore, false); +#if false // update! //Mod_ev2stati1.doUpdate(); - Mod_ev2step1.doUpdate(); + //Mod_ev2step1.doUpdate(); +#endif + } + + void Mod_filtroMappa_eh_selValore(object sender, EventArgs e) + { + // salvo in session + SteamWare.memLayer.ML.setSessionVal("IdxTipoObj_sel", Mod_filtroTipoObj.valoreInt, false); +#if false + // update! + //Mod_ev2stati1.doUpdate(); + //Mod_ev2step1.doUpdate(); +#endif } void Mod_anagraficaEventi1_eh_resetSelezione(object sender, EventArgs e) @@ -40,7 +55,16 @@ public partial class AnagraficaEventi : System.Web.UI.Page { pnlDet.Visible = true; // salvo valore iniziale filtro... - SteamWare.memLayer.ML.setSessionVal("IdxTipoObj_sel", Mod_filtro1.valoreInt, false); + SteamWare.memLayer.ML.setSessionVal("CodMappa_sel", Mod_filtroMappa.valore, false); + SteamWare.memLayer.ML.setSessionVal("IdxTipoObj_sel", Mod_filtroTipoObj.valoreInt, false); } + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + Mod_anagraficaEventi1.eh_selValore -= new EventHandler(Mod_anagraficaEventi1_eh_selValore); + Mod_anagraficaEventi1.eh_resetSelezione -= new EventHandler(Mod_anagraficaEventi1_eh_resetSelezione); + Mod_filtroMappa.eh_selValore -= new EventHandler(Mod_filtroMappa_eh_selValore); + Mod_filtroTipoObj.eh_selValore -= new EventHandler(Mod_filtroTipoObj_eh_selValore); + } } diff --git a/XPS/AnagraficaMappe.aspx b/XPS/AnagraficaMappe.aspx new file mode 100644 index 0000000..62746b6 --- /dev/null +++ b/XPS/AnagraficaMappe.aspx @@ -0,0 +1,9 @@ +<%@ Page Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" CodeFile="AnagraficaMappe.aspx.cs" Inherits="AnagraficaMappe" Title="Untitled Page" %> + +<%@ Register Src="mod_anagraficaMappe.ascx" TagName="mod_anagraficaMappe" TagPrefix="uc1" %> + + + + + + diff --git a/XPS/AnagraficaStep.aspx.cs b/XPS/AnagraficaMappe.aspx.cs similarity index 81% rename from XPS/AnagraficaStep.aspx.cs rename to XPS/AnagraficaMappe.aspx.cs index 82bc539..14fb95e 100644 --- a/XPS/AnagraficaStep.aspx.cs +++ b/XPS/AnagraficaMappe.aspx.cs @@ -9,7 +9,7 @@ using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; -public partial class AnagraficaStep : System.Web.UI.Page +public partial class AnagraficaMappe : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { diff --git a/XPS/AnagraficaStep.aspx b/XPS/AnagraficaStep.aspx deleted file mode 100644 index 12a8dbc..0000000 --- a/XPS/AnagraficaStep.aspx +++ /dev/null @@ -1,7 +0,0 @@ -<%@ Page Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" CodeFile="AnagraficaStep.aspx.cs" Inherits="AnagraficaStep" Title="Untitled Page" %> - -<%@ Register Src="mod_anagraficaStep.ascx" TagName="mod_anagraficaStep" TagPrefix="uc1" %> - - - - diff --git a/XPS/mod_anagTipoObj.ascx b/XPS/mod_anagTipoObj.ascx index 283dd44..354b7be 100644 --- a/XPS/mod_anagTipoObj.ascx +++ b/XPS/mod_anagTipoObj.ascx @@ -21,7 +21,7 @@ + Visible="true" /> - + - + - + - + @@ -116,12 +116,12 @@ - + - + diff --git a/XPS/mod_anagraficaStep.ascx b/XPS/mod_anagraficaMappe.ascx similarity index 71% rename from XPS/mod_anagraficaStep.ascx rename to XPS/mod_anagraficaMappe.ascx index f9451e1..5c8f407 100644 --- a/XPS/mod_anagraficaStep.ascx +++ b/XPS/mod_anagraficaMappe.ascx @@ -1,16 +1,10 @@ -<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_anagraficaStep.ascx.cs" Inherits="mod_anagraficaStep" %> +<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_anagraficaMappe.ascx.cs" + Inherits="mod_anagraficaMappe" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> <%@ Register Src="mod_selettore_ajax.ascx" TagName="mod_selettore_ajax" TagPrefix="uc1" %> -<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %> -
- - - -
+ DataKeyNames="CodMappa" DataSourceID="ods"> @@ -27,7 +21,7 @@ + Visible="true" /> - + - + - + - + - + - + - + - + @@ -99,28 +93,23 @@ + SelectMethod="GetData" TypeName="DS_XPSTableAdapters.AnagMappeTableAdapter" OnInserting="recuperaFooter" + FilterExpression=" CodMappa LIKE '%{0}%' OR DescrMappa LIKE '%{0}%' " DeleteMethod="DeleteQuery" InsertMethod="Insert" + UpdateMethod="UpdateQuery"> - - + - - - - + + + - - - - - - + +
diff --git a/XPS/mod_ev2step.ascx.cs b/XPS/mod_anagraficaMappe.ascx.cs similarity index 88% rename from XPS/mod_ev2step.ascx.cs rename to XPS/mod_anagraficaMappe.ascx.cs index 2cf0c02..a797505 100644 --- a/XPS/mod_ev2step.ascx.cs +++ b/XPS/mod_anagraficaMappe.ascx.cs @@ -10,7 +10,7 @@ using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using SteamWare; -public partial class mod_ev2step : ApplicationUserControl +public partial class mod_anagraficaMappe : ApplicationUserControl { #region area da NON modificare @@ -184,17 +184,17 @@ public partial class mod_ev2step : ApplicationUserControl #endregion #region area codice variabile + /// /// elenco colonne del datagrid /// /// protected DataColumnCollection colonneObj() { - DS_XPS.v_ev2stepDataTable tabella = new DS_XPS.v_ev2stepDataTable(); + DS_XPS.AnagMappeDataTable tabella = new DS_XPS.AnagMappeDataTable(); DataColumnCollection colonne = tabella.Columns; return colonne; } - /// /// inizializzazione valori di default /// @@ -202,7 +202,7 @@ public partial class mod_ev2step : ApplicationUserControl protected override void OnInit(EventArgs e) { base.OnInit(e); - _idxGridView = "IdxStep"; + _idxGridView = "CodMappe"; } void Mod_filtro1_eh_selValore(object sender, EventArgs e) { @@ -215,6 +215,17 @@ public partial class mod_ev2step : ApplicationUserControl /// protected void grView_RowDataBound(object sender, GridViewRowEventArgs e) { + // se riga di dati... + if (e.Row.RowType == DataControlRowType.DataRow) + { + // ottengo la riga tipizzata... + System.Data.DataRowView _drv = (System.Data.DataRowView)e.Row.DataItem; + DS_XPS.AnagMappeRow riga = (DS_XPS.AnagMappeRow)_drv.Row; + if (SteamWare.memLayer.ML.StringSessionObj(_idxGridView) == riga.CodMappa.ToString()) + { + grView.SelectedIndex = e.Row.RowIndex; + } + } } /// /// gestione evento inserimento nuovo record standard (se ZERO presenti) @@ -225,9 +236,9 @@ public partial class mod_ev2step : ApplicationUserControl { // reset selezione... resetSelezione(); - DS_XPSTableAdapters.v_ev2stepTableAdapter taEv2Step = new DS_XPSTableAdapters.v_ev2stepTableAdapter(); + DS_XPSTableAdapters.AnagMappeTableAdapter taMappe = new DS_XPSTableAdapters.AnagMappeTableAdapter(); // creo 1 obj vuoto... - taEv2Step.InsertQuery(memLayer.ML.IntSessionObj("IdxTipoObj_sel"), 0, memLayer.ML.IntSessionObj("IdxEvento_sel"), 0); + taMappe.Insert("--", "Nuova mappa"); grView.DataBind(); // sollevo evento nuovo valore... if (eh_nuovoValore != null) @@ -288,8 +299,6 @@ public partial class mod_ev2step : ApplicationUserControl } tipoColonna = ""; } - e.InputParameters["IdxTipoObj"] = memLayer.ML.IntSessionObj("IdxTipoObj_sel"); - e.InputParameters["IdxEvento"] = memLayer.ML.IntSessionObj("IdxEvento_sel"); } #endregion diff --git a/XPS/mod_anagraficaStati.ascx b/XPS/mod_anagraficaStati.ascx index 2c2f88b..161ded2 100644 --- a/XPS/mod_anagraficaStati.ascx +++ b/XPS/mod_anagraficaStati.ascx @@ -4,14 +4,21 @@ <%@ Register Src="mod_selettore_ajax.ascx" TagName="mod_selettore_ajax" TagPrefix="uc1" %> <%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %>
- - + + +
+
+ +
+ DataKeyNames="CodMappa,IdxTipoObj,CodStato" DataSourceID="ods"> @@ -50,15 +57,15 @@ ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.small) %>' /> - + - + - + - + @@ -99,29 +106,42 @@ - + + + - - + + + + + + - - + + + + - + + +
diff --git a/XPS/mod_anagraficaStati.ascx.cs b/XPS/mod_anagraficaStati.ascx.cs index 430cb07..4cca8ee 100644 --- a/XPS/mod_anagraficaStati.ascx.cs +++ b/XPS/mod_anagraficaStati.ascx.cs @@ -243,10 +243,11 @@ public partial class mod_anagraficaStati : ApplicationUserControl protected override void OnInit(EventArgs e) { base.OnInit(e); - _idxGridView = "IdxStato"; + _idxGridView = "CodStato"; if (!Page.IsPostBack) { - Mod_filtro1.ods = odsFiltro; + Mod_filtroMappa.ods = odsMappa; + Mod_filtroTipoObj.ods = odsTipoObj; } } void Mod_filtro1_eh_selValore(object sender, EventArgs e) @@ -266,7 +267,7 @@ public partial class mod_anagraficaStati : ApplicationUserControl // ottengo la riga tipizzata... System.Data.DataRowView _drv = (System.Data.DataRowView)e.Row.DataItem; DS_XPS.StatiRow riga = (DS_XPS.StatiRow)_drv.Row; - if (SteamWare.memLayer.ML.StringSessionObj(_idxGridView) == riga.IdxStato.ToString()) + if (SteamWare.memLayer.ML.StringSessionObj(_idxGridView) == riga.CodStato.ToString()) { grView.SelectedIndex = e.Row.RowIndex; } @@ -283,7 +284,7 @@ public partial class mod_anagraficaStati : ApplicationUserControl resetSelezione(); DS_XPSTableAdapters.StatiTableAdapter taStati = new DS_XPSTableAdapters.StatiTableAdapter(); // creo 1 obj vuoto... - taStati.Insert(Mod_filtro1.valoreInt, 1, "Nuovo stato"); + taStati.Insert(Mod_filtroMappa.valore, "-", Mod_filtroTipoObj.valoreInt, "Nuovo stato", "", "", ""); grView.DataBind(); // sollevo evento nuovo valore... if (eh_nuovoValore != null) @@ -344,7 +345,8 @@ public partial class mod_anagraficaStati : ApplicationUserControl } tipoColonna = ""; } - e.InputParameters["IdxTipoObj"] = Mod_filtro1.valore; + e.InputParameters["CodMappa"] = Mod_filtroMappa.valore; + e.InputParameters["IdxTipoObj"] = Mod_filtroTipoObj.valore; } #endregion diff --git a/XPS/mod_anagraficaStep.ascx.cs b/XPS/mod_anagraficaStep.ascx.cs deleted file mode 100644 index 29d580c..0000000 --- a/XPS/mod_anagraficaStep.ascx.cs +++ /dev/null @@ -1,351 +0,0 @@ -using System; -using System.Data; -using System.Configuration; -using System.Collections; -using System.Web; -using System.Web.Security; -using System.Web.UI; -using System.Web.UI.WebControls; -using System.Web.UI.WebControls.WebParts; -using System.Web.UI.HtmlControls; -using SteamWare; - -public partial class mod_anagraficaStep : ApplicationUserControl -{ - #region area da NON modificare - - #region area protected - - protected string _idxGridView; - protected bool _showNewBtn = true; - - /// - /// imposta errore non cancellabilità per record correlati - /// - protected void setNoDeletableErrorMessage() - { - // mostro avviso di non cancellabilità... - lblWarning.Text = traduci("notDeletable_hasChild"); - lblWarning.Visible = true; - grView.DataBind(); - } - /// - /// esegue cancellazione record - /// - protected void doDelete() - { - // posso cancellare... - lblWarning.Visible = false; - ods.Delete(); - } - /// - /// Valida la cancellazione per i dati mostrati dal gridView - /// richiede sia preventivamentedichiarato _idxGridView - /// - /// - /// - protected virtual void validaDelete(object sender, ObjectDataSourceMethodEventArgs e) - { - int idx = Convert.ToInt32(e.InputParameters[string.Format("Original_{0}", _idxGridView)]); - if (objIsNotRelated(idx)) - { - // annullo cancellazione... - e.Cancel = true; - // seleziono record... metto in session valore idx e poi ridisegno... - SteamWare.memLayer.ML.setSessionVal(_idxGridView, idx); - setNoDeletableErrorMessage(); - } - else - { - doDelete(); - } - } - /// - /// inserisce nuovo valore da footer - /// - /// - /// - protected void lblIns_click(object sender, EventArgs e) - { - // click su inserimento, chiamo il metodo insert dell'ObjectDataSource - ods.Insert(); - } - /// - /// annulla inserimento nuovo valore da footer - /// - /// - /// - protected void lblCanc_click(object sender, EventArgs e) - { - // annullo inserimento: nascondo footer, bind controlli... - grView.FooterRow.Visible = false; - } - /// - /// aggiorna controlli datagrid e numero righe in pagina - /// - protected override void aggiornaControlliDataGL() - { - base.aggiornaControlliDataGL(); - grView.PageSize = _righeDataGridMed; - } - /// - /// traduce gli header delle colonne - /// - /// - /// - protected void grView_DataBound(object sender, EventArgs e) - { - if (grView.Rows.Count > 0) - { - LinkButton lb; - // aggiorno gli headers - foreach (TableCell cella in grView.HeaderRow.Cells) - { - try - { - lb = (LinkButton)cella.Controls[0]; - lb.Text = traduci(lb.Text); - } - catch - { } - } - int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); - lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); - } - else - { - lblNumRec.Text = ""; - } - } - /// - /// resetta la selezione dei valori in caso di modifiche su altri controlli - /// - public void resetSelezione() - { - SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); - grView.SelectedIndex = -1; - grView.DataBind(); - lblWarning.Visible = false; - if (eh_resetSelezione != null) - { - eh_resetSelezione(this, new EventArgs()); - } - } - /// - /// gestione evento richeista nuovo valore (mostra footer, ...) - /// - /// - /// - protected void btnNew_Click(object sender, EventArgs e) - { - // reset selezione... - resetSelezione(); - // mostro il footer oppure la riga dei dettagli x nuovo... - if (grView.FooterRow != null) - { - grView.FooterRow.Visible = true; - } - // sollevo evento nuovo valore... - if (eh_nuovoValore != null) - { - eh_nuovoValore(this, new EventArgs()); - } - } - /// - /// reset della selezione - /// - /// - /// - protected void btnReset_Click(object sender, EventArgs e) - { - resetSelezione(); - } - /// - /// gestione cambio selezione valore - /// - /// - /// - protected void grView_SelectedIndexChanged(object sender, EventArgs e) - { - // salvo in session il valore selezionato... - SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue); - // sollevo evento nuovo valore... - if (eh_selValore != null) - { - eh_selValore(this, new EventArgs()); - } - } - - #endregion - - #region gestione eventi - - public event EventHandler eh_resetSelezione; - public event EventHandler eh_nuovoValore; - public event EventHandler eh_selValore; - - #endregion - - #region public - - /// - /// definisce visibilità btnNew - /// - public bool showNewBtn - { - get - { - return _showNewBtn; - } - set - { - _showNewBtn = value; - } - } - /// - /// effettua update del modulo - /// - public void doUpdate() - { - resetSelezione(); - } - - #endregion - - #endregion - - #region area codice variabile - /// - /// verifica complessiva non esistenza record child - /// - /// - /// - protected bool objIsNotRelated(object idxObj) - { - // !!! FARE vero controllo cancellazione? - return false;// (taRouteVersion.getByOggetti(idxObj.ToString(), vers.ToString()).Rows.Count == 0); - } - /// - /// elenco colonne del datagrid - /// - /// - protected DataColumnCollection colonneObj() - { - DS_XPS.StepDataTable tabella = new DS_XPS.StepDataTable(); - DataColumnCollection colonne = tabella.Columns; - return colonne; - } - - /// - /// inizializzazione valori di default - /// - /// - protected override void OnInit(EventArgs e) - { - base.OnInit(e); - _idxGridView = "IdxStep"; - if (!Page.IsPostBack) - { - Mod_filtro1.ods = odsFiltro; - } - } - void Mod_filtro1_eh_selValore(object sender, EventArgs e) - { - // ridisegno - } - /// - /// setta selected alla riga il cui valore key è in session - /// - /// - /// - protected void grView_RowDataBound(object sender, GridViewRowEventArgs e) - { - // se riga di dati... - if (e.Row.RowType == DataControlRowType.DataRow) - { - // ottengo la riga tipizzata... - System.Data.DataRowView _drv = (System.Data.DataRowView)e.Row.DataItem; - DS_XPS.StepRow riga = (DS_XPS.StepRow)_drv.Row; - if (SteamWare.memLayer.ML.StringSessionObj(_idxGridView) == riga.IdxStep.ToString()) - { - grView.SelectedIndex = e.Row.RowIndex; - } - } - } - /// - /// gestione evento inserimento nuovo record standard (se ZERO presenti) - /// - /// - /// - protected void btnNewFromEmpty_Click(object sender, EventArgs e) - { - // reset selezione... - resetSelezione(); - DS_XPSTableAdapters.StepTableAdapter taStep= new DS_XPSTableAdapters.StepTableAdapter(); - // creo 1 obj vuoto... - taStep.Insert(Mod_filtro1.valoreInt, 1, "Nuovo step"); - grView.DataBind(); - // sollevo evento nuovo valore... - if (eh_nuovoValore != null) - { - eh_nuovoValore(this, new EventArgs()); - } - } - - /// - /// recupera i dati di un nuovo record contenuti nel footer di un gridView; - /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) - /// - /// - /// - protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) - { - //recupero la riga footer... - DataColumnCollection colonne = colonneObj(); - string nomeCol; - string tipoColonna = ""; - foreach (DataColumn colonna in colonne) - { - nomeCol = colonna.ColumnName; - // cerco un textbox o quello che sia... - if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) - { - tipoColonna = "textBox"; - } - else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) - { - tipoColonna = "dropDownList"; - } - else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) - { - tipoColonna = "checkBox"; - } - else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) - { - tipoColonna = "selAjax"; - } - // in base al tipo salvo negli inputparameters dell'ODS - switch (tipoColonna) - { - case "textBox": - e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text; - break; - case "dropDownList": - e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; - break; - case "checkBox": - e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; - break; - case "selAjax": - e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore; - break; - default: - break; - } - tipoColonna = ""; - } - e.InputParameters["IdxTipoObj"] = Mod_filtro1.valore; - } - - #endregion -} \ No newline at end of file diff --git a/XPS/mod_ev2stati.ascx.cs b/XPS/mod_ev2stati.ascx.cs index cc6b178..2e5cc59 100644 --- a/XPS/mod_ev2stati.ascx.cs +++ b/XPS/mod_ev2stati.ascx.cs @@ -227,7 +227,7 @@ public partial class mod_ev2stati : ApplicationUserControl resetSelezione(); DS_XPSTableAdapters.v_ev2statiTableAdapter taEv2Stato = new DS_XPSTableAdapters.v_ev2statiTableAdapter(); // creo 1 obj vuoto... - taEv2Stato.InsertQuery(memLayer.ML.IntSessionObj("IdxTipoObj_sel"), 0, memLayer.ML.IntSessionObj("IdxEvento_sel"), 0); + taEv2Stato.InsertQuery(memLayer.ML.StringSessionObj("CodMappa_sel"),"0",memLayer.ML.IntSessionObj("IdxTipoObj_sel"), memLayer.ML.IntSessionObj("IdxEvento_sel"), "0"); grView.DataBind(); // sollevo evento nuovo valore... if (eh_nuovoValore != null) diff --git a/XPS/mod_ev2step.ascx b/XPS/mod_ev2step.ascx deleted file mode 100644 index c223967..0000000 --- a/XPS/mod_ev2step.ascx +++ /dev/null @@ -1,160 +0,0 @@ -<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_ev2step.ascx.cs" Inherits="mod_ev2step" %> -<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> -<%@ Register Src="mod_selettore_ajax.ascx" TagName="mod_selettore_ajax" TagPrefix="uc1" %> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - diff --git a/db/SteamWare_XPS.zip b/db/SteamWare_XPS.zip index 3a6f50b..866bb3a 100644 Binary files a/db/SteamWare_XPS.zip and b/db/SteamWare_XPS.zip differ