update x redirect da sito principale a nuovo sito BCode

This commit is contained in:
Samuele E. Locatelli
2016-12-15 09:39:56 +01:00
parent 53b60e18e8
commit 3e2d80b9b3
8 changed files with 43 additions and 44 deletions
+16 -5
View File
@@ -1,5 +1,16 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFullBCode.Master" AutoEventWireup="true" CodeBehind="Barcode.aspx.cs" Inherits="GPW.A2.Barcode" %>
<%@ Register src="~/WebUserControls/mod_bCodeTimb.ascx" tagname="mod_bCodeTimb" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
<uc1:mod_bCodeTimb ID="mod_bCodeTimb1" runat="server" />
</asp:Content>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Barcode.aspx.cs" Inherits="GPW.A2.Barcode" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
DEFAULT redirect
</div>
</form>
</body>
</html>
+3 -11
View File
@@ -1,10 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GPW_data;
using SteamWare;
using System;
namespace GPW.A2
{
@@ -12,10 +7,7 @@ namespace GPW.A2
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
utils.mng.dailyDuties();
}
Response.Redirect(memLayer.ML.CRS("GpwBCodeUrl"));
}
}
}
+10 -8
View File
@@ -3,22 +3,24 @@
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GPW.A2 {
public partial class Barcode {
namespace GPW.A2
{
public partial class Barcode
{
/// <summary>
/// mod_bCodeTimb1 control.
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GPW.WebUserControls.mod_bCodeTimb mod_bCodeTimb1;
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
}
}
+3 -6
View File
@@ -8,12 +8,9 @@
</head>
<body>
<form id="form1" runat="server">
<div>
<h1>
Barcode</h1>
<p>
Default page</p>
</div>
<div>
DEFAULT redirect
</div>
</form>
</body>
</html>
+3 -7
View File
@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
using System;
namespace GPW.BarcodeArea
{
@@ -11,7 +7,7 @@ namespace GPW.BarcodeArea
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Redirect("~/A2/Barcode.aspx");
Response.Redirect(memLayer.ML.CRS("GpwBCodeUrl"));
}
}
}
+3 -3
View File
@@ -8,9 +8,9 @@
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
<div>
DEFAULT redirect
</div>
</form>
</body>
</html>
+3 -3
View File
@@ -8,9 +8,9 @@
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
<div>
DEFAULT redirect
</div>
</form>
</body>
</html>
+2 -1
View File
@@ -121,7 +121,8 @@
<add key="authKey" value="keyhammer" />
<add key="baseUrl" value="http://iis02/GPW/" />
<add key="baseWebUrl" value="http://seriate.steamware.net:8083/GPW/" />
<add key="GpwSmartUrl" value="../../GPW-Smart" />
<add key="GpwSmartUrl" value="../../GPW-Smart" />
<add key="GpwBCodeUrl" value="../../GPW-Barcode" />
<!--Gestione SSRS-->
<add key="reportBaseUrl" value="http://sql-steam/ReportServer?/Steamware/" />
<!--<add key="reportBaseUrl" value="http://sql-steam/Reports/Pages/Report.aspx?ItemPath=/Steamware/" />-->