From 62df3c2d575f3d352b3d1532a3ec477a4865e441 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Thu, 7 May 2015 12:48:36 +0200 Subject: [PATCH] fix editing impegno --- WebSCR/WebUserControls/mod_dettImpegno.ascx | 196 ++++++++---------- .../WebUserControls/mod_dettImpegno.ascx.cs | 16 ++ 2 files changed, 107 insertions(+), 105 deletions(-) diff --git a/WebSCR/WebUserControls/mod_dettImpegno.ascx b/WebSCR/WebUserControls/mod_dettImpegno.ascx index 4b1af4a..20505d5 100644 --- a/WebSCR/WebUserControls/mod_dettImpegno.ascx +++ b/WebSCR/WebUserControls/mod_dettImpegno.ascx @@ -6,13 +6,13 @@
- +
- +
- +
@@ -20,12 +20,12 @@
- +

- +
@@ -33,17 +33,17 @@
- +

- +
- + @@ -54,55 +54,51 @@
- RifOC: - +
    +
  • Cliente
  • +
  • + + + <%----%> +
  • +
  • + +
    + +
    + +
    + +
    +
  • +
- UrlDoc: - +
    +
  • Intervento
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
-
-
- CodCliente: - -
- Rag Soc: - -
- CodFis: - -
-
- Indir: - -
- Cap: - -
- Localita: - -
- Prov: - -
- idxZona: - -
-
- MinTotCons: - -
- MinViaggio: - -
- FinePrev: - -
-
-
- NoteGen: - +
+
    +
  • + + +
  • +
@@ -161,74 +157,64 @@
- RifOC: - +
    +
  • Cliente
  • +
  • + + + <%----%> +
  • +
  • + +
    + +
    + +
    + +
    +
  • +
- UrlDoc: - +
    +
  • Intervento
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
-
-
- CodCliente: - -
- Rag Soc: - -
- CodFis: - -
-
- Indir: - -
- Cap: - -
- Localita: - -
- Prov: - -
- idxZona: - -
-
- MinTotCons: - -
- MinViaggio: - -
- FinePrev: - -
-
-
- NoteGen: - +
+
    +
  • + + +
  • +
- + - - - - - - diff --git a/WebSCR/WebUserControls/mod_dettImpegno.ascx.cs b/WebSCR/WebUserControls/mod_dettImpegno.ascx.cs index ff1bcaa..35ba470 100644 --- a/WebSCR/WebUserControls/mod_dettImpegno.ascx.cs +++ b/WebSCR/WebUserControls/mod_dettImpegno.ascx.cs @@ -49,5 +49,21 @@ namespace WebSCR.WebUserControls { } return answ; } + /// + /// recupero valori mancanti + /// + /// + /// + protected void odsImpegni_Updating(object sender, ObjectDataSourceMethodEventArgs e) + { + if (e.InputParameters["UrlDoc"] == null) + { + e.InputParameters["UrlDoc"] = ""; + } + if (e.InputParameters["UserMod"] == null) + { + e.InputParameters["UserMod"] = SteamWare.user_std.UtSn.userNameAD; + } + } } } \ No newline at end of file