diff --git a/WebSCR.v11.suo b/WebSCR.v11.suo index aa0779e..4ff9d0b 100644 Binary files a/WebSCR.v11.suo and b/WebSCR.v11.suo differ diff --git a/WebSCR/WebUserControls/mod_elencoClienti.ascx b/WebSCR/WebUserControls/mod_elencoClienti.ascx index f48b3ee..bc1b559 100644 --- a/WebSCR/WebUserControls/mod_elencoClienti.ascx +++ b/WebSCR/WebUserControls/mod_elencoClienti.ascx @@ -35,7 +35,6 @@
- <%----%>
@@ -47,5 +46,4 @@ - <%--OR Indir LIKE '%{0}%' OR Localita LIKE '%{0}%'--%> diff --git a/WebSCR/WebUserControls/mod_filtroZona.ascx.cs b/WebSCR/WebUserControls/mod_filtroZona.ascx.cs index 7fb58a2..2bbe297 100644 --- a/WebSCR/WebUserControls/mod_filtroZona.ascx.cs +++ b/WebSCR/WebUserControls/mod_filtroZona.ascx.cs @@ -28,8 +28,16 @@ namespace WebSCR.WebUserControls { if (!Page.IsPostBack) { - lblCliente.Text = ""; - lblZona.Text = ""; + if (memLayer.ML.isInSessionObject("currDoc")) + { + txtCerca.Text = memLayer.ML.StringSessionObj("currDoc"); + refreshSearch(); + } + else + { + lblCliente.Text = ""; + lblZona.Text = ""; + } } } @@ -80,6 +88,14 @@ namespace WebSCR.WebUserControls /// /// protected void txtCerca_TextChanged(object sender, EventArgs e) + { + refreshSearch(); + reportEvent(); + } + /// + /// refresh search da documento + /// + private void refreshSearch() { // cerco per DOCUMENTO... DS_Applicazione.v_clientiZoneRow riga = null; @@ -110,7 +126,6 @@ namespace WebSCR.WebUserControls lblCliente.Text = ""; lblZona.Text = ""; } - reportEvent(); } } diff --git a/WebSCR/bin/WebSCR.dll b/WebSCR/bin/WebSCR.dll index 2843c73..c184cdd 100644 Binary files a/WebSCR/bin/WebSCR.dll and b/WebSCR/bin/WebSCR.dll differ