Reload reso visibile SOLO x user START (PC)
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<div class="my-5">
|
||||
|
||||
</div>
|
||||
<div class="p-1 row table-secondary form-group fixed-bottom small" runat="server" visible="false">
|
||||
<div class="p-1 row table-secondary form-group fixed-bottom small" runat="server" id="divReload">
|
||||
<div class="col-4">
|
||||
<label for="txtCacheSec">Validità cache (sec)</label>
|
||||
<asp:TextBox runat="server" ID="txtCacheSec" CssClass="form-control" AutoPostBack="True" OnTextChanged="txtCacheSec_TextChanged">5</asp:TextBox>
|
||||
|
||||
@@ -98,18 +98,13 @@ namespace C_TRACK
|
||||
Stopwatch stopwatch = new Stopwatch();
|
||||
// Avvio...
|
||||
stopwatch.Start();
|
||||
traduciObj();
|
||||
#if false
|
||||
|
||||
// registro che i valori in cache sono scaduti...
|
||||
lastDataRefresh = DateTime.Now.AddDays(-1);
|
||||
|
||||
#endif
|
||||
traduciObj();
|
||||
numDD = memLayer.ML.CRI("numDD");
|
||||
cacheValSec = memLayer.ML.CRI("cacheValSec");
|
||||
// registro
|
||||
stopwatch.Stop();
|
||||
lastUpdDuration = stopwatch.Elapsed;
|
||||
divReload.Visible = devicesAuthProxy.stObj.userHasRight("CT_userStart");
|
||||
}
|
||||
checkRequisiti();
|
||||
// effettuo load valori...
|
||||
|
||||
Generated
+9
@@ -66,6 +66,15 @@ namespace C_TRACK {
|
||||
/// </remarks>
|
||||
protected global::C_TRACK.WebUserControls.mod_taskRec mod_taskRec;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divReload.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divReload;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtCacheSec.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user