diff --git a/MP-Tablet/WebUserControls/mod_dettMacchina.ascx.cs b/MP-Tablet/WebUserControls/mod_dettMacchina.ascx.cs
index d05c46aa..2b87f5cc 100644
--- a/MP-Tablet/WebUserControls/mod_dettMacchina.ascx.cs
+++ b/MP-Tablet/WebUserControls/mod_dettMacchina.ascx.cs
@@ -6,6 +6,10 @@ namespace MoonProTablet.WebUserControls
{
public partial class mod_dettMacchina : System.Web.UI.UserControl
{
+ ///
+ /// fatto refresh --> chiedo remove modal (se c'è)
+ ///
+ public event EventHandler eh_reqRemoveModal;
///
/// idx macchina selezionata
///
@@ -28,7 +32,10 @@ namespace MoonProTablet.WebUserControls
///
protected void Page_Load(object sender, EventArgs e)
{
- dmTimer.Interval = memLayer.ML.CRI("dtTimerInt");
+ if (!Page.IsPostBack)
+ {
+ dmTimer.Interval = memLayer.ML.CRI("dtTimerInt");
+ }
// controllo se ho dett macchina altrimenti ritorno a pagina generale...
if (idxMacchina == "")
{
@@ -71,7 +78,13 @@ namespace MoonProTablet.WebUserControls
///
///
protected void Timer1_Tick(object sender, EventArgs e)
- {
+ {
+ // sollevo evento!
+ if (eh_reqRemoveModal != null)
+ {
+ eh_reqRemoveModal(this, new EventArgs());
+ }
+ // update
doUpdate();
//ScriptManager.RegisterStartupScript(Page, GetType(), "temp", "", false);
ScriptManager.RegisterStartupScript(Page, GetType(), "temp", "", false);
diff --git a/MP-Tablet/WebUserControls/mod_title.ascx b/MP-Tablet/WebUserControls/mod_title.ascx
index b1ae126f..0cba9d6c 100644
--- a/MP-Tablet/WebUserControls/mod_title.ascx
+++ b/MP-Tablet/WebUserControls/mod_title.ascx
@@ -1,90 +1,112 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_title.ascx.cs" Inherits="MoonProTablet.WebUserControls.mod_title" %>
-
-
-
-
-
-
-
-
-
- Mappa Stato
-
-
-
-
-