Altre modifiche pagine con nuovo template...
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -10,6 +10,7 @@ namespace GIM_site
|
||||
{
|
||||
public partial class Bootstrap : System.Web.UI.MasterPage
|
||||
{
|
||||
public event EventHandler eh_Search_Submit;
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
@@ -18,7 +19,17 @@ namespace GIM_site
|
||||
setTimer();
|
||||
updateLabels();
|
||||
}
|
||||
mod_testata.eh_nuovaRicerca += Mod_testata_eh_nuovaRicerca;
|
||||
}
|
||||
|
||||
private void Mod_testata_eh_nuovaRicerca(object sender, EventArgs e)
|
||||
{
|
||||
if (eh_Search_Submit != null)
|
||||
{
|
||||
eh_Search_Submit(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// imposta il tempo di scadenza del timer x il refresh della pagina (della parte top) per evitare che la sessione sul server scada
|
||||
/// </summary>
|
||||
|
||||
@@ -10,6 +10,7 @@ namespace GIM_site
|
||||
{
|
||||
public partial class FullPage : System.Web.UI.MasterPage
|
||||
{
|
||||
public event EventHandler eh_Search_Submit;
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -198,6 +198,11 @@ namespace GIM_site.WebUserControls
|
||||
{
|
||||
// salvo in sessione
|
||||
memLayer.ML.setSessionVal("valoreCercato", txtSearch.Text.Trim());
|
||||
// raise dell'evento
|
||||
if (eh_nuovaRicerca != null)
|
||||
{
|
||||
eh_nuovaRicerca(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// valore ricerca
|
||||
@@ -214,5 +219,7 @@ namespace GIM_site.WebUserControls
|
||||
memLayer.ML.setSessionVal("valoreCercato", value);
|
||||
}
|
||||
}
|
||||
|
||||
public event EventHandler eh_nuovaRicerca;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,23 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="magRic.aspx.cs" Inherits="GIM_site.magRic" %>
|
||||
<%@ Register src="WebUserControls/mod_magRic.ascx" tagname="mod_magRic" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<uc1:mod_magRic ID="mod_magRic1" runat="server" />
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/FullPage.master" AutoEventWireup="true" CodeBehind="magRic.aspx.cs" Inherits="GIM_site.magRic" %>
|
||||
|
||||
<%@ Register Src="WebUserControls/mod_magRic.ascx" TagName="mod_magRic" TagPrefix="uc1" %>
|
||||
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content4" ContentPlaceHolderID="MCon" runat="server">
|
||||
<div class="container-flow">
|
||||
<div class="row panel panel-default" style="margin: 4px 8px;">
|
||||
<div class="panel-heading">
|
||||
<div class="row" style="margin: 2px 4px;">
|
||||
<h3 class="panel-title"><%: traduci("ADV_MTZ_MagRicLong") %></h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<uc1:mod_magRic ID="mod_magRic1" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
|
||||
@@ -4,10 +4,11 @@ using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
|
||||
namespace GIM_site
|
||||
{
|
||||
public partial class magRic : System.Web.UI.Page
|
||||
public partial class magRic : UserPage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user