completata rev 1 testata
This commit is contained in:
@@ -17,3 +17,4 @@ C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\ETS\ETS_Data
|
||||
C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\ETS\ETS_Data\bin\Debug\NLog.xml
|
||||
C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\ETS\ETS_Data\obj\Debug\ETS_Data.dll
|
||||
C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\ETS\ETS_Data\obj\Debug\ETS_Data.pdb
|
||||
C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\ETS\ETS_Data\obj\Debug\ETS_Data.csprojResolveAssemblyReference.cache
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -4,8 +4,10 @@
|
||||
<webopt:BundleReference ID="BundleReference1" runat="server" Path="~/Content/css" />
|
||||
<% } %>
|
||||
<div class="areaTitolo">
|
||||
<div class="float-left fontPiccolo" style="padding: 20px 0px 2px 4px;">
|
||||
<div class="float-left fontPiccolo" style="padding: 8px 0px 8px 4px;">
|
||||
<asp:Label runat="server" ID="lblUser" />
|
||||
<br />
|
||||
<asp:Label runat="server" ID="lblDataOra" />
|
||||
</div>
|
||||
<div class="float-right" style="padding: 10px 6px 10px 6px;">
|
||||
<nav>
|
||||
@@ -21,23 +23,8 @@
|
||||
<p class="site-title">
|
||||
<asp:Image runat="server" ID="ibHome" ImageUrl="~/images/home.png" Width="32px" Height="32px" />
|
||||
<b>
|
||||
<a id="A2" runat="server" href="~/">PROJ-ETS</a>
|
||||
<asp:LinkButton ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="PROJ-ETS" ToolTip="Update" />
|
||||
</b>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<%--<div class="divCenter areaTitolo">
|
||||
|
||||
<div class="divDx fontPiccolo" style="padding: 0px 4px 2px 0px;">
|
||||
<div style="padding-top: 4px; float: right;">
|
||||
<asp:LinkButton ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="Update" />
|
||||
</div>
|
||||
<div class="clearDiv"></div>
|
||||
<div style="padding-top: 4px; float: right;">
|
||||
<asp:Label runat="server" ID="lblDataOra" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>--%>
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace PROJ_ETS.WebUserControls
|
||||
{
|
||||
// sistemare
|
||||
lblUser.Text = "Current user";// string.Format("{0} ({1})", utils.obj.currUserCognomeNome, utils.obj.currUserId);
|
||||
//lblDataOra.Text = DateTime.Now.ToString("dd-MM-yyyy HH:mm:ss");
|
||||
lblDataOra.Text = DateTime.Now.ToString("dd-MM-yyyy HH:mm:ss");
|
||||
}
|
||||
/// <summary>
|
||||
/// richiesta update
|
||||
@@ -30,48 +30,9 @@ namespace PROJ_ETS.WebUserControls
|
||||
/// </summary>
|
||||
private void doFullDataUpdate()
|
||||
{
|
||||
//// salvo i dati attuali...
|
||||
//string cod_cdc = SteamWare.memLayer.ML.StringSessionObj("valRicercaCdC");
|
||||
//string lingua = user_std.UtSn.lingua;
|
||||
//string USER_NAME = SteamWare.memLayer.ML.StringSessionObj("USER_NAME");
|
||||
//string DOMINIO = SteamWare.memLayer.ML.StringSessionObj("DOMINIO");
|
||||
//bool isForceUser = user_std.UtSn.isForcedUser;
|
||||
//// salvo i valori delle tab in session...
|
||||
//Dictionary<string, string> sessionParam = SteamWare.memLayer.ML.valSess2SurvUpd;
|
||||
|
||||
// svuoto session e cache per rileggere i dati da Db
|
||||
Session.RemoveAll();
|
||||
Response.Redirect(Request.Url.ToString());
|
||||
|
||||
//Uri MyUrl = Request.Url;
|
||||
//string delimStr = "/";
|
||||
//char[] delimiter = delimStr.ToCharArray();
|
||||
//string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter);
|
||||
//int n = finalUrl.Length;
|
||||
//_paginaCorrente = finalUrl[n - 1].ToString();
|
||||
|
||||
//SteamWare.memLayer.ML.flushRegisteredCache();
|
||||
|
||||
//// rimemorizzo
|
||||
//SteamWare.memLayer.ML.setSessionVal("valRicercaCdC", cod_cdc);
|
||||
//user_std.UtSn.startUpUtente(DOMINIO, USER_NAME);
|
||||
//user_std.UtSn.lingua = lingua;
|
||||
//user_std.UtSn.isForcedUser = isForceUser;
|
||||
//DataWrap.DW.resetVocabolario();
|
||||
|
||||
//// risalvo in session i valori...
|
||||
//foreach (KeyValuePair<string, string> kvp in sessionParam)
|
||||
//{
|
||||
// SteamWare.memLayer.ML.setSessionVal(kvp.Key, kvp.Value, true);
|
||||
//}
|
||||
|
||||
//// cambio visibilità del menù laterale...
|
||||
//if (eh_reqUpdateMenu != null)
|
||||
//{
|
||||
// eh_reqUpdateMenu(this, new EventArgs());
|
||||
//}
|
||||
|
||||
//Response.Redirect(_paginaCorrente);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
-2
@@ -30,6 +30,15 @@ namespace PROJ_ETS.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblUser;
|
||||
|
||||
/// <summary>
|
||||
/// lblDataOra control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblDataOra;
|
||||
|
||||
/// <summary>
|
||||
/// ibHome control.
|
||||
/// </summary>
|
||||
@@ -40,12 +49,12 @@ namespace PROJ_ETS.WebUserControls {
|
||||
protected global::System.Web.UI.WebControls.Image ibHome;
|
||||
|
||||
/// <summary>
|
||||
/// A2 control.
|
||||
/// btnUpdate control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlAnchor A2;
|
||||
protected global::System.Web.UI.WebControls.LinkButton btnUpdate;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user