Inizio modifica pagina dettaglio x mostrare NUOVI parametri e fix esistenti
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user