-
-
diff --git a/NKC_WF/site/vocabolario.aspx.cs b/NKC_WF/site/vocabolario.aspx.cs
index f150c50..237ea3b 100644
--- a/NKC_WF/site/vocabolario.aspx.cs
+++ b/NKC_WF/site/vocabolario.aspx.cs
@@ -3,51 +3,51 @@ using System.Web.UI;
namespace NKC_WF
{
- public partial class vocabolario : System.Web.UI.Page
- {
- protected override void OnInit(EventArgs e)
+ public partial class vocabolario : BasePage
{
- base.OnInit(e);
+ protected override void OnInit(EventArgs e)
+ {
+ base.OnInit(e);
- if (!Page.IsPostBack)
- {
- ((SiteMaster)this.Master).showSearch = false;
- mod_righePag.numRowPag = 10;
- mod_vocabolario.pageSize = mod_righePag.numRowPag;
- }
- // imposto controlli eventi
- mod_vocabolario.eh_selezioneValore += new EventHandler(mod_vocabolario_eh_selezioneValore);
- mod_vocabolario.eh_resetSelezione += new EventHandler(mod_vocabolario_eh_resetSelezione);
- // setto visibilità dettaglio termini
- mod_lemmiVocab.Visible = false;
- mod_righePag.eh_newNum += mod_righePag_eh_newNum;
- }
- ///
- /// aggiornato numero righe datagrid... aggiorno visualizzazione
- ///
- ///
- ///
- void mod_righePag_eh_newNum(object sender, EventArgs e)
- {
- mod_vocabolario.pageSize = mod_righePag.numRowPag;
- }
- void mod_vocabolario_eh_resetSelezione(object sender, EventArgs e)
- {
- mod_lemmiVocab.Visible = false;
- Session.Remove("lemma_sel");
- }
+ if (!Page.IsPostBack)
+ {
+ ((SiteContent)this.Master).showSearch = false;
+ mod_righePag.numRowPag = 10;
+ mod_vocabolario.pageSize = mod_righePag.numRowPag;
+ }
+ // imposto controlli eventi
+ mod_vocabolario.eh_selezioneValore += new EventHandler(mod_vocabolario_eh_selezioneValore);
+ mod_vocabolario.eh_resetSelezione += new EventHandler(mod_vocabolario_eh_resetSelezione);
+ // setto visibilità dettaglio termini
+ mod_lemmiVocab.Visible = false;
+ mod_righePag.eh_newNum += mod_righePag_eh_newNum;
+ }
+ ///
+ /// aggiornato numero righe datagrid... aggiorno visualizzazione
+ ///
+ ///
+ ///
+ void mod_righePag_eh_newNum(object sender, EventArgs e)
+ {
+ mod_vocabolario.pageSize = mod_righePag.numRowPag;
+ }
+ void mod_vocabolario_eh_resetSelezione(object sender, EventArgs e)
+ {
+ mod_lemmiVocab.Visible = false;
+ Session.Remove("lemma_sel");
+ }
- void mod_vocabolario_eh_selezioneValore(object sender, EventArgs e)
- {
- mod_lemmiVocab.Visible = true;
- mod_lemmiVocab.doUpdate();
- }
+ void mod_vocabolario_eh_selezioneValore(object sender, EventArgs e)
+ {
+ mod_lemmiVocab.Visible = true;
+ mod_lemmiVocab.doUpdate();
+ }
- protected override void OnUnload(EventArgs e)
- {
- base.OnUnload(e);
- mod_vocabolario.eh_selezioneValore -= new EventHandler(mod_vocabolario_eh_selezioneValore);
- mod_vocabolario.eh_resetSelezione -= new EventHandler(mod_vocabolario_eh_resetSelezione);
+ protected override void OnUnload(EventArgs e)
+ {
+ base.OnUnload(e);
+ mod_vocabolario.eh_selezioneValore -= new EventHandler(mod_vocabolario_eh_selezioneValore);
+ mod_vocabolario.eh_resetSelezione -= new EventHandler(mod_vocabolario_eh_resetSelezione);
+ }
}
- }
}