diff --git a/XPS/Appunti.txt b/XPS/Appunti.txt
index 6f1409e..928940a 100644
--- a/XPS/Appunti.txt
+++ b/XPS/Appunti.txt
@@ -1,10 +1,17 @@
------------------------------------------------
- 20081024
------------------------------------------------
-OK 01 - togliere codCli (non gli serve)
-OK 02 - togliere data prev da ins magazziniere...
-03 - una vista x ogni funzione
-04 - barcode da web?
-05 - avanzamento stato: obj mamma ha stato min tra i vari child
-06 - agganciare filtraggi e filtro ricerca generica
-OK 07 - accettazione x magazziniere, che non possa accettare o cancellare post aver già accettato... idem x editing...
\ No newline at end of file
+OK - togliere codCli (non gli serve)
+OK - togliere data prev da ins magazziniere...
+OK - agganciare filtraggi e filtro ricerca generica
+OK - accettazione x magazziniere, che non possa accettare o cancellare post aver già accettato... idem x editing...
+ - inserire voci in mantis varie
+ - una vista x ogni funzione
+ - magazzino (ok quasi)
+ - produzione
+ - realizzare allocazione risorse
+ - segreteria
+ - admin (da magazzino... con altri editing & co...)
+ - barcode da web?
+ - avanzamento stato: obj mamma ha stato min tra i vari child
+ -
\ No newline at end of file
diff --git a/XPS/mod_elencoComm.ascx b/XPS/mod_elencoComm.ascx
index beaffa7..9229b56 100644
--- a/XPS/mod_elencoComm.ascx
+++ b/XPS/mod_elencoComm.ascx
@@ -33,7 +33,7 @@
-
+
|
@@ -41,7 +41,7 @@
-
+
@@ -70,7 +70,7 @@
+ OnDataBound="grView_DataBound" OnRowUpdating="grView_RowUpdating">
@@ -91,8 +91,9 @@
-
+
<%--
+ DeleteMethod="sp_delObj" FilterExpression=" Cliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ">
+
+
+
\ No newline at end of file
diff --git a/XPS/mod_elencoComm.ascx.cs b/XPS/mod_elencoComm.ascx.cs
index 88d43a5..b8fd25a 100644
--- a/XPS/mod_elencoComm.ascx.cs
+++ b/XPS/mod_elencoComm.ascx.cs
@@ -149,12 +149,27 @@ public partial class mod_elencoComm : ApplicationUserControl
{
base.OnInit(e);
_idxGridView = "CodDDT";
+ mf_clienti.eh_selValore += new EventHandler(mf_clienti_eh_selValore);
if (!Page.IsPostBack)
{
mf_clienti.ods = odsFiltroClienti;
}
}
+ void mf_clienti_eh_selValore(object sender, EventArgs e)
+ {
+ // controllo se filtro attivo...
+ if (mf_clienti.valore != "*")
+ {
+ ods.FilterExpression = string.Format("( Cliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ) AND CodCliente = '{0}'", mf_clienti.valore);
+ }
+ else
+ {
+ ods.FilterExpression = " Cliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ";
+ }
+ grView.DataBind();
+ }
+
protected override void traduciObj()
{
base.traduciObj();
@@ -292,5 +307,10 @@ public partial class mod_elencoComm : ApplicationUserControl
return isAccettVisible(codStato);
}
+ protected override void OnUnload(EventArgs e)
+ {
+ base.OnUnload(e);
+ mf_clienti.eh_selValore -= new EventHandler(mf_clienti_eh_selValore);
+ }
#endregion
}
\ No newline at end of file
|