effettuato spostamento integrazioni ordini e fornitori in pagine specifiche

This commit is contained in:
Samuele Locatelli
2013-05-25 11:33:46 +02:00
parent 5c3d398503
commit 39240a9c54
14 changed files with 83 additions and 35 deletions
Binary file not shown.
Binary file not shown.
+5 -1
View File
@@ -1,4 +1,8 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Progetti.master" AutoEventWireup="true" CodeBehind="FornitoriCommessa.aspx.cs" Inherits="PROJ_ETS.FornitoriCommessa" %>
<%@ Register Src="WebUserControls/mod_filtroComm.ascx" TagName="mod_filtroComm" TagPrefix="uc1" %>
<%@ Register Src="WebUserControls/mod_commForn.ascx" TagName="mod_commForn" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Contenuto" runat="server">
Fornitori Commessa
<uc1:mod_filtroComm ID="mod_filtroComm1" runat="server" />
<uc2:mod_commForn ID="mod_commForn1" runat="server" />
</asp:Content>
@@ -11,7 +11,12 @@ namespace PROJ_ETS
{
protected void Page_Load(object sender, EventArgs e)
{
mod_filtroComm1.eh_nuovoValore += mod_filtroComm1_eh_nuovoValore;
}
void mod_filtroComm1_eh_nuovoValore(object sender, EventArgs e)
{
mod_commForn1.doUpdate();
}
}
}
+23 -7
View File
@@ -3,15 +3,31 @@
// 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 PROJ_ETS
{
public partial class FornitoriCommessa
{
namespace PROJ_ETS {
public partial class FornitoriCommessa {
/// <summary>
/// mod_filtroComm1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::PROJ_ETS.WebUserControls.mod_filtroComm mod_filtroComm1;
/// <summary>
/// mod_commForn1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::PROJ_ETS.WebUserControls.mod_commForn mod_commForn1;
}
}
@@ -1,3 +1,7 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Progetti.master" AutoEventWireup="true" CodeBehind="IntegrazioniCommessa.aspx.cs" Inherits="PROJ_ETS.IntegrazioniCommessa" %>
<%@ Register src="WebUserControls/mod_filtroComm.ascx" tagname="mod_filtroComm" tagprefix="uc1" %>
<%@ Register src="WebUserControls/mod_commInteg.ascx" tagname="mod_commInteg" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Contenuto" runat="server">
<uc1:mod_filtroComm ID="mod_filtroComm1" runat="server" />
<uc2:mod_commInteg ID="mod_commInteg1" runat="server" />
</asp:Content>
@@ -11,7 +11,12 @@ namespace PROJ_ETS
{
protected void Page_Load(object sender, EventArgs e)
{
mod_filtroComm1.eh_nuovoValore += mod_filtroComm1_eh_nuovoValore;
}
void mod_filtroComm1_eh_nuovoValore(object sender, EventArgs e)
{
mod_commInteg1.doUpdate();
}
}
}
+23 -7
View File
@@ -3,15 +3,31 @@
// 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 PROJ_ETS
{
public partial class IntegrazioniCommessa
{
namespace PROJ_ETS {
public partial class IntegrazioniCommessa {
/// <summary>
/// mod_filtroComm1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::PROJ_ETS.WebUserControls.mod_filtroComm mod_filtroComm1;
/// <summary>
/// mod_commInteg1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::PROJ_ETS.WebUserControls.mod_commInteg mod_commInteg1;
}
}
@@ -39,5 +39,13 @@ namespace PROJ_ETS.WebUserControls
eh_nuovoValore(this, new EventArgs());
}
}
/// <summary>
/// effettua update selezione
/// </summary>
public void doUpdate()
{
grView.DataBind();
}
}
}
@@ -38,5 +38,13 @@ namespace PROJ_ETS.WebUserControls
eh_nuovoValore(this, new EventArgs());
}
}
/// <summary>
/// effettua update selezione
/// </summary>
public void doUpdate()
{
grView.DataBind();
}
}
}
@@ -287,7 +287,7 @@
</UpdateParameters>
</asp:ObjectDataSource>
</div>
<div class="divSx" style="min-width: 500px; min-height: 250px; height: 100%; margin-left:4px;">
<%--<div class="divSx" style="min-width: 500px; min-height: 250px; height: 100%; margin-left:4px;">
<div class="clearDiv shadowBox">
<div id="tabs">
<ul>
@@ -302,5 +302,5 @@
</div>
</div>
</div>
</div>
</div>--%>
<div class="clearDiv"></div>
@@ -29,23 +29,5 @@ namespace PROJ_ETS.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// mod_commInteg1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::PROJ_ETS.WebUserControls.mod_commInteg mod_commInteg1;
/// <summary>
/// mod_commForn1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::PROJ_ETS.WebUserControls.mod_commForn mod_commForn1;
}
}
Binary file not shown.
Binary file not shown.