diff --git a/C2P/C2P.csproj b/C2P/C2P.csproj index 166b62a..575ff9f 100644 --- a/C2P/C2P.csproj +++ b/C2P/C2P.csproj @@ -289,6 +289,8 @@ + + @@ -572,6 +574,20 @@ mod_Q_Quot.ascx + + mod_ricercaGenerica.ascx + ASPXCodeBehind + + + mod_ricercaGenerica.ascx + + + mod_righePag.ascx + ASPXCodeBehind + + + mod_righePag.ascx + mod_selPeriodo.ascx ASPXCodeBehind diff --git a/C2P/Vocabolario.aspx b/C2P/Vocabolario.aspx index 74bea5d..31e5c4c 100644 --- a/C2P/Vocabolario.aspx +++ b/C2P/Vocabolario.aspx @@ -1,12 +1,37 @@ <%@ Page Title="" Language="C#" MasterPageFile="~/FullPage.master" AutoEventWireup="true" CodeBehind="Vocabolario.aspx.cs" Inherits="C2P.Vocabolario" %> -<%@ Register Src="~/WebUserControls/mod_lemmiVocab.ascx" TagPrefix="uc1" TagName="mod_lemmiVocab" %> -<%@ Register src="WebUserControls/mod_vocabolario.ascx" tagname="mod_vocabolario" tagprefix="uc2" %> + +<%@ Register Src="~/WebUserControls/mod_lemmiVocab.ascx" TagPrefix="uc2" TagName="mod_lemmiVocab" %> +<%@ Register Src="~/WebUserControls/mod_vocabolario.ascx" TagName="mod_vocabolario" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_righePag.ascx" TagName="mod_righePag" TagPrefix="uc3" %> +<%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagPrefix="uc4" TagName="mod_ricercaGenerica" %> - <%----%> - <%----%> + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/C2P/Vocabolario.aspx.designer.cs b/C2P/Vocabolario.aspx.designer.cs index 88c7e00..1175b10 100644 --- a/C2P/Vocabolario.aspx.designer.cs +++ b/C2P/Vocabolario.aspx.designer.cs @@ -11,5 +11,41 @@ namespace C2P { public partial class Vocabolario { + + /// + /// mod_ricercaGenerica control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_ricercaGenerica mod_ricercaGenerica; + + /// + /// mod_righePag1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_righePag mod_righePag1; + + /// + /// Mod_vocabolario1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_vocabolario Mod_vocabolario1; + + /// + /// Mod_lemmiVocab1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_lemmiVocab Mod_lemmiVocab1; } } diff --git a/C2P/WebUserControls/mod_Q_ExtrPar.ascx b/C2P/WebUserControls/mod_Q_ExtrPar.ascx index 10a0cfd..cee9e59 100644 --- a/C2P/WebUserControls/mod_Q_ExtrPar.ascx +++ b/C2P/WebUserControls/mod_Q_ExtrPar.ascx @@ -52,93 +52,24 @@ - <%-- - - + + - --%> + + + + + + + - <%-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <%: traduci("Update") %> - - - <%: traduci("Cancel") %> - - - --%> - + - - - - - - - - - - - - - -<%-- - - ---%> diff --git a/C2P/WebUserControls/mod_lemmiVocab.ascx b/C2P/WebUserControls/mod_lemmiVocab.ascx index c6b51dc..0d2d78f 100644 --- a/C2P/WebUserControls/mod_lemmiVocab.ascx +++ b/C2P/WebUserControls/mod_lemmiVocab.ascx @@ -1,53 +1,55 @@ -<%@ Control Language="C#" AutoEventWireup="true" Inherits="C2P.WebUserControls.mod_lemmiVocab" Codebehind="mod_lemmiVocab.ascx.cs" %> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_lemmiVocab" CodeBehind="mod_lemmiVocab.ascx.cs" %> - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/C2P/WebUserControls/mod_lemmiVocab.ascx.cs b/C2P/WebUserControls/mod_lemmiVocab.ascx.cs index 9887a9f..cf92839 100644 --- a/C2P/WebUserControls/mod_lemmiVocab.ascx.cs +++ b/C2P/WebUserControls/mod_lemmiVocab.ascx.cs @@ -10,63 +10,42 @@ using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using SteamWare; - -namespace C2P.WebUserControls +public partial class mod_lemmiVocab : SteamWare.UserControl { - public partial class mod_lemmiVocab : System.Web.UI.UserControl + #region protected + + protected void grView_DataBound(object sender, EventArgs e) { - - /// - /// wrapper traduzione - /// - /// - /// - public string traduci(object lemma) + if (grView.Rows.Count > 0) { - return user_std.UtSn.Traduci(lemma.ToString()); - } - - #region protected - - //protected override void aggiornaControlliDataGL() - //{ - // base.aggiornaControlliDataGL(); - // grView.PageSize = _righeDataGridAnagr; - //} - - 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) { - LinkButton lb; - // aggiorno gli headers - foreach (TableCell cella in grView.HeaderRow.Cells) + try { - try - { - lb = (LinkButton)cella.Controls[0]; - lb.Text = traduci(lb.Text); - } - catch - { } + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); } - 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 = ""; + catch + { } } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} ({1})", grView.Rows.Count, totRecord); } - /// - /// aggiorna i dati mostrati - /// - public void doUpdate() + else { - ods.DataBind(); - grView.DataBind(); + lblNumRec.Text = ""; } - - #endregion } -} \ No newline at end of file + /// + /// aggiorna i dati mostrati + /// + public void doUpdate() + { + ods.DataBind(); + grView.DataBind(); + } + + #endregion +} diff --git a/C2P/WebUserControls/mod_lemmiVocab.ascx.designer.cs b/C2P/WebUserControls/mod_lemmiVocab.ascx.designer.cs index b028201..fb09718 100644 --- a/C2P/WebUserControls/mod_lemmiVocab.ascx.designer.cs +++ b/C2P/WebUserControls/mod_lemmiVocab.ascx.designer.cs @@ -7,36 +7,34 @@ // //------------------------------------------------------------------------------ -namespace C2P.WebUserControls { + + +public partial class mod_lemmiVocab { + /// + /// 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; - public partial class mod_lemmiVocab { - - /// - /// 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; - - /// - /// lblNumRec control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblNumRec; - - /// - /// 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; - } + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// 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/C2P/WebUserControls/mod_ricercaGenerica.ascx b/C2P/WebUserControls/mod_ricercaGenerica.ascx new file mode 100644 index 0000000..32c9891 --- /dev/null +++ b/C2P/WebUserControls/mod_ricercaGenerica.ascx @@ -0,0 +1,11 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_ricercaGenerica" CodeBehind="mod_ricercaGenerica.ascx.cs" %> + + + + <%: traduci("lbnResearch") %> + + + + + + diff --git a/C2P/WebUserControls/mod_ricercaGenerica.ascx.cs b/C2P/WebUserControls/mod_ricercaGenerica.ascx.cs new file mode 100644 index 0000000..f3fc3da --- /dev/null +++ b/C2P/WebUserControls/mod_ricercaGenerica.ascx.cs @@ -0,0 +1,119 @@ +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_ricercaGenerica : SteamWare.UserControl +{ + + #region gestione eventi + + public event EventHandler eh_nuovaRicerca; + + #endregion + + # region area protected + + #region area ricerche dettaglio specifiche + + protected bool _cercaMatricole = false; + protected bool _cercaUsername = false; + //protected bool _cercaManufacturer = false; + //protected bool _cercaCategorie = false; + protected bool _cercaModelli = false; + protected bool _cercaMag = false; + + #endregion + + protected void Page_Load(object sender, EventArgs e) + { + updateText(); + } + /// + /// cambiato valore in ricerca + /// + /// + /// + protected void txtCerca_TextChanged(object sender, EventArgs e) + { + salvaCerca(); + } + + /// + /// effettuato reset + /// + /// + /// + protected void lnkReset_Click(object sender, EventArgs e) + { + txtCerca.Text = ""; + salvaCerca(); + } + /// + /// pressione del button di ricerca + /// + /// + /// + protected void btnCerca_Click(object sender, EventArgs e) + { + salvaCerca(); + } + /// + /// testo ricerca trimmato da spazi + /// + protected string testoRicerca + { + get + { + return txtCerca.Text.Trim(); + } + set + { + txtCerca.Text = value; + } + } + + protected void salvaCerca() + { + if (testoRicerca == "") + { + SteamWare.memLayer.ML.emptySessionVal("valoreCercato"); + } + else + { + SteamWare.memLayer.ML.setSessionVal("valoreCercato", testoRicerca); + // raise dell'evento + if (eh_nuovaRicerca != null) + { + eh_nuovaRicerca(this, new EventArgs()); + } + } + } + + #endregion + + #region area public + + /// + /// aggiorna il testo cercato + /// + public void updateText() + { + if (SteamWare.memLayer.ML.StringSessionObj("valoreCercato") != "" && !Page.IsPostBack) + { + testoRicerca = SteamWare.memLayer.ML.StringSessionObj("valoreCercato"); + } + } + + + + #endregion + +} diff --git a/C2P/WebUserControls/mod_ricercaGenerica.ascx.designer.cs b/C2P/WebUserControls/mod_ricercaGenerica.ascx.designer.cs new file mode 100644 index 0000000..3e2495b --- /dev/null +++ b/C2P/WebUserControls/mod_ricercaGenerica.ascx.designer.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_ricercaGenerica { + + /// + /// lbnSearch control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lbnSearch; + + /// + /// txtCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCerca; + + /// + /// lnkReset control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lnkReset; +} diff --git a/C2P/WebUserControls/mod_righePag.ascx b/C2P/WebUserControls/mod_righePag.ascx new file mode 100644 index 0000000..ddf0e97 --- /dev/null +++ b/C2P/WebUserControls/mod_righePag.ascx @@ -0,0 +1,6 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_righePag.ascx.cs" Inherits="mod_righePag" %> + + + <%: traduci("righePerPag") %> + + diff --git a/C2P/WebUserControls/mod_righePag.ascx.cs b/C2P/WebUserControls/mod_righePag.ascx.cs new file mode 100644 index 0000000..eb6c562 --- /dev/null +++ b/C2P/WebUserControls/mod_righePag.ascx.cs @@ -0,0 +1,101 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +public partial class mod_righePag : System.Web.UI.UserControl +{ + /// + /// indicato (nuovo) numero righe x pagina + /// + public event EventHandler eh_newNum; + /// + /// caricamento pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + numRowReq = numRowPag; + } + } + /// + /// effettua traduzione del lemma + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + /// + /// aggiorno controllo paginazione... + /// + /// + /// + protected void txtNumRighe_TextChanged(object sender, EventArgs e) + { + // salvo num righe... + numRowPag = numRowReq; + // sollevo evento nuovo valore... + if (eh_newNum != null) + { + eh_newNum(this, new EventArgs()); + } + } + /// + /// numero righe per pagina (in sessione) + /// + public int numRowPag + { + get + { + int answ = 10; + try + { + answ = memLayer.ML.IntSessionObj("numRowPag"); + } + catch + { + answ = 10; + } + return answ; + } + set + { + memLayer.ML.setSessionVal("numRowPag", value); + numRowReq = value; + } + } + /// + /// numero righe gridview da mostrare legato a controllo textbox + /// + protected int numRowReq + { + get + { + int answ = numRowPag; + try + { + answ = Convert.ToInt32(txtNumRighe.Text.Trim()); + if (answ == 0) + { + answ = numRowPag; + txtNumRighe.Text = answ.ToString(); + } + } + catch + { } + return answ; + } + set + { + txtNumRighe.Text = value.ToString(); + } + } +} diff --git a/C2P/WebUserControls/mod_righePag.ascx.designer.cs b/C2P/WebUserControls/mod_righePag.ascx.designer.cs new file mode 100644 index 0000000..f14fce1 --- /dev/null +++ b/C2P/WebUserControls/mod_righePag.ascx.designer.cs @@ -0,0 +1,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. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_righePag { + + /// + /// lblNumRighe control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRighe; + + /// + /// txtNumRighe control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNumRighe; +} diff --git a/C2P/WebUserControls/mod_vocabolario.ascx b/C2P/WebUserControls/mod_vocabolario.ascx index 458cb71..cdcdb89 100644 --- a/C2P/WebUserControls/mod_vocabolario.ascx +++ b/C2P/WebUserControls/mod_vocabolario.ascx @@ -1,100 +1,102 @@ -<%@ Control Language="C#" AutoEventWireup="true" Inherits="C2P.WebUserControls.mod_vocabolario" CodeBehind="mod_vocabolario.ascx.cs" %> +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_vocabolario" CodeBehind="mod_vocabolario.ascx.cs" %> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <%-- - --%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <%-- - --%> - - - + + + + + + + + + + + + + + + + + + + + + + + <%-- + --%> + + + + <%: traduci("Reset") %> + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%----%> + + + + + + + + + + + + + + + + + + + + + + + diff --git a/C2P/WebUserControls/mod_vocabolario.ascx.cs b/C2P/WebUserControls/mod_vocabolario.ascx.cs index 24fd28a..0292db0 100644 --- a/C2P/WebUserControls/mod_vocabolario.ascx.cs +++ b/C2P/WebUserControls/mod_vocabolario.ascx.cs @@ -9,162 +9,148 @@ using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using SteamWare; +using C2P_Data; - -namespace C2P.WebUserControls +public partial class mod_vocabolario : SteamWare.UserControl { - public partial class mod_vocabolario : System.Web.UI.UserControl + + #region gestione eventi + + public event EventHandler eh_selezioneValore; + public event EventHandler eh_resetSelezione; + + #endregion + + #region protected + + protected void Page_Load() { - - #region gestione eventi - - public event EventHandler eh_selezioneValore; - public event EventHandler eh_resetSelezione; - - #endregion - - #region protected - /// - /// caricamento pagina - /// - /// - /// - protected void Page_Load(object sender, EventArgs e) - { - if (!Page.IsPostBack) - { - traduciObj(); - } - aggiornaControlliDataGL(); - } - - protected void traduciObj() + if (!Page.IsPostBack) { btnNewLemma.Text = user_std.UtSn.Traduci("btnNewLemma"); txtNewLemma.Text = ""; - //TBW_newLemma.WatermarkText = user_std.UtSn.Traduci("insertNewLemma"); } - - /// - /// inserisco nel db il nuovo lemma... - /// - /// - /// - protected void btnNewLemma_Click(object sender, EventArgs e) - { - creaNuovoLemma(); - } - /// - /// creazione nuovo lemma - /// - private void creaNuovoLemma() - { - if (txtNewLemma.Text != "") - { - // inserisco - DataWrap.DW.creaNuovoLemmaVoc(txtNewLemma.Text.Trim()); - // metto in campo ricerca... - memLayer.ML.setSessionVal("valoreCercato", txtNewLemma.Text.Trim()); - // svuoto campo text - txtNewLemma.Text = ""; - // aggiorno il vocabolario in memoria... - DataWrap.DW.resetVocabolario(); - // riparto... - Response.Redirect("Vocabolario"); - } - } - - protected void aggiornaControlliDataGL() - { - //base.aggiornaControlliDataGL(); - //grView.PageSize = _righeDataGridAnagr; - ods.DataBind(); - } - - 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 = ""; - } - } - - protected void btnReset_Click(object sender, EventArgs e) - { - resetSelezione(); - } - - protected void grView_SelectedIndexChanged(object sender, EventArgs e) - { - selezionatoValore(); - } - - private void selezionatoValore() - { - SteamWare.memLayer.ML.setSessionVal("lemma_sel", grView.SelectedDataKey.Values[1]); - if (eh_selezioneValore != null) - { - eh_selezioneValore(this, new EventArgs()); - } - } - - protected void grView_RowEditing(object sender, GridViewEditEventArgs e) - { - // seleziono la riga corrente... - grView.SelectedIndex = e.NewEditIndex; - selezionatoValore(); - } - - protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) - { - selezionatoValore(); - } - - #endregion - - #region area public - - /// - /// wrapper traduzione - /// - /// - /// - public string traduci(object lemma) - { - return user_std.UtSn.Traduci(lemma.ToString()); - } - /// - /// resetta la selezione dei valori in caso di modifiche su altri controlli - /// - public void resetSelezione() - { - SteamWare.memLayer.ML.emptySessionVal("lemma_sel"); - grView.SelectedIndex = -1; - grView.DataBind(); - if (eh_resetSelezione != null) - { - eh_resetSelezione(this, new EventArgs()); - } - } - - #endregion - } + + /// + /// inserisco nel db il nuovo lemma... + /// + /// + /// + protected void btnNewLemma_Click(object sender, EventArgs e) + { + creaNuovoLemma(); + } + /// + /// creazione nuovo lemma + /// + private void creaNuovoLemma() + { + if (txtNewLemma.Text != "") + { + // inserisco + DataWrap.DW.creaNuovoLemmaVoc(txtNewLemma.Text.Trim()); + // metto in campo ricerca... + memLayer.ML.setSessionVal("valoreCercato", txtNewLemma.Text.Trim()); + // svuoto campo text + txtNewLemma.Text = ""; + // aggiorno il vocabolario in memoria... + DataWrap.DW.resetVocabolario(); + // riparto... + Response.Redirect(user_std.pagCorrente); + } + } + + /// + /// dimensione pagina grid view + /// + public int pageSize + { + get + { + return grView.PageSize; + } + set + { + grView.PageSize = value; + } + } + + 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 = ""; + } + } + + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + selezionatoValore(); + } + + private void selezionatoValore() + { + SteamWare.memLayer.ML.setSessionVal("lemma_sel", grView.SelectedDataKey.Values[1]); + if (eh_selezioneValore != null) + { + eh_selezioneValore(this, new EventArgs()); + } + } + + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + // seleziono la riga corrente... + grView.SelectedIndex = e.NewEditIndex; + selezionatoValore(); + } + + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + selezionatoValore(); + } + + #endregion + + #region area public + + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal("lemma_sel"); + grView.SelectedIndex = -1; + grView.DataBind(); + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + #endregion + } + diff --git a/C2P/WebUserControls/mod_vocabolario.ascx.designer.cs b/C2P/WebUserControls/mod_vocabolario.ascx.designer.cs index 9cd14b5..d8f4503 100644 --- a/C2P/WebUserControls/mod_vocabolario.ascx.designer.cs +++ b/C2P/WebUserControls/mod_vocabolario.ascx.designer.cs @@ -7,54 +7,52 @@ // //------------------------------------------------------------------------------ -namespace C2P.WebUserControls { + + +public partial class mod_vocabolario { + /// + /// btnNewLemma control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnNewLemma; - public partial class mod_vocabolario { - - /// - /// 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; - - /// - /// lblNumRec control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblNumRec; - - /// - /// 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; - - /// - /// btnNewLemma control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btnNewLemma; - - /// - /// txtNewLemma control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.TextBox txtNewLemma; - } + /// + /// txtNewLemma control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNewLemma; + + /// + /// 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; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// 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/C2P/bin/C2P.dll b/C2P/bin/C2P.dll index 4b95231..4eb7423 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 012bba0..e2443f3 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 e0fd9e1..2bfa536 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 be70c64..e5bceb6 100644 Binary files a/C2P/bin/SteamWare.dll and b/C2P/bin/SteamWare.dll differ diff --git a/C2P/bin/SteamWare.xml b/C2P/bin/SteamWare.xml index 790694b..673a2ff 100644 --- a/C2P/bin/SteamWare.xml +++ b/C2P/bin/SteamWare.xml @@ -3031,6 +3031,43 @@ testo associato al controllo + + + Classe gestione metodi di accesso ai dati embeddati + + + + + classe accesso tabelle selettori + + + + + tabella vocabolario + + + + + + tabella lingue + + + + + + faccio update del lemma indicato... + + + + + + + + cancella il lemma indicato + + + + Summary description for selettori