Inizio modifica pagina dettaglio x mostrare NUOVI parametri e fix esistenti

This commit is contained in:
Samuele E. Locatelli
2019-01-08 15:23:12 +01:00
parent d77a6902ca
commit 2350d79900
20 changed files with 487 additions and 196 deletions
@@ -0,0 +1,42 @@
using System;
namespace MP_SITE.WebUserControls
{
public class baseProdControl : System.Web.UI.UserControl
{
public event EventHandler eh_doUpdate;
protected resoconti _resoconti;
protected int _numRighe = 17;
protected void Page_Load(object sender, EventArgs e)
{
_resoconti = new resoconti();
if (!Page.IsPostBack)
{
aggiornamento();
}
}
public virtual void aggiornamento()
{
}
public int numRighe
{
get
{
return _numRighe;
}
set
{
_numRighe = value;
}
}
public void reportUpdate()
{
// alzo l'evento d update/inserimento e ricarico cache...
if (eh_doUpdate != null)
{
eh_doUpdate(this, new EventArgs());
}
}
}
}