Continuo integrazioen dettaglio TechSheet
This commit is contained in:
+11
-5
@@ -21,11 +21,9 @@
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<IISExpressSSLPort>44384</IISExpressSSLPort>
|
||||
<IISExpressAnonymousAuthentication>
|
||||
</IISExpressAnonymousAuthentication>
|
||||
<IISExpressWindowsAuthentication>
|
||||
</IISExpressWindowsAuthentication>
|
||||
<IISExpressSSLPort>44328</IISExpressSSLPort>
|
||||
<IISExpressAnonymousAuthentication>enabled</IISExpressAnonymousAuthentication>
|
||||
<IISExpressWindowsAuthentication>disabled</IISExpressWindowsAuthentication>
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
<TargetFrameworkProfile />
|
||||
<UseGlobalApplicationHostFile />
|
||||
@@ -660,6 +658,7 @@
|
||||
<Content Include="WebUserControls\cmp_newODL.ascx" />
|
||||
<Content Include="WebUserControls\cmp_selPzPallet.ascx" />
|
||||
<Content Include="WebUserControls\cmp_sheetTech.ascx" />
|
||||
<Content Include="WebUserControls\cmp_ST_detail.ascx" />
|
||||
<Content Include="WebUserControls\mod_checkHttps.ascx" />
|
||||
<Content Include="WebUserControls\mod_commenti.ascx" />
|
||||
<Content Include="WebUserControls\mod_confProd.ascx" />
|
||||
@@ -944,6 +943,13 @@
|
||||
<Compile Include="WebUserControls\cmp_sheetTech.ascx.designer.cs">
|
||||
<DependentUpon>cmp_sheetTech.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_ST_detail.ascx.cs">
|
||||
<DependentUpon>cmp_ST_detail.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_ST_detail.ascx.designer.cs">
|
||||
<DependentUpon>cmp_ST_detail.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_checkHttps.ascx.cs">
|
||||
<DependentUpon>mod_checkHttps.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_ST_detail.ascx.cs" Inherits="MoonProTablet.WebUserControls.cmp_ST_detail" %>
|
||||
|
||||
|
||||
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="IdxST,Label,Oggetto" DataSourceID="ods" AllowSorting="True">
|
||||
<Columns>
|
||||
<asp:BoundField DataField="IdxST" HeaderText="IdxST" SortExpression="IdxST" ReadOnly="True" />
|
||||
<asp:BoundField DataField="Label" HeaderText="Label" ReadOnly="True" SortExpression="Label" />
|
||||
<asp:BoundField DataField="Oggetto" HeaderText="Oggetto" ReadOnly="True" SortExpression="Oggetto" />
|
||||
<asp:BoundField DataField="Num" HeaderText="Num" SortExpression="Num" />
|
||||
<asp:BoundField DataField="CodGruppo" HeaderText="CodGruppo" SortExpression="CodGruppo" />
|
||||
<asp:BoundField DataField="CodTipo" HeaderText="CodTipo" SortExpression="CodTipo" />
|
||||
<asp:BoundField DataField="Value" HeaderText="Value" SortExpression="Value" />
|
||||
<asp:BoundField DataField="CheckType" HeaderText="CheckType" SortExpression="CheckType" />
|
||||
<asp:CheckBoxField DataField="Required" HeaderText="Required" SortExpression="Required" />
|
||||
<asp:BoundField DataField="ExtCode" HeaderText="ExtCode" SortExpression="ExtCode" />
|
||||
<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />
|
||||
<asp:BoundField DataField="DescGruppo" HeaderText="DescGruppo" SortExpression="DescGruppo" />
|
||||
<asp:BoundField DataField="DescTipo" HeaderText="DescTipo" SortExpression="DescTipo" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByCodArt" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_ActualRowTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfCodGruppo" DefaultValue="ART" Name="CodGruppo" PropertyName="Value" Type="String" />
|
||||
<asp:ControlParameter ControlID="hfCodArticolo" DefaultValue="" Name="CodArticolo" PropertyName="Value" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfCodGruppo" Value="ART" />
|
||||
<asp:HiddenField runat="server" ID="hfCodArticolo" Value="60682" />
|
||||
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
public partial class cmp_ST_detail : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public string CodArticolo
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfCodArticolo.Value.Trim();
|
||||
}
|
||||
set
|
||||
{
|
||||
hfCodArticolo.Value = value.Trim();
|
||||
}
|
||||
}
|
||||
public string CodGruppo
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfCodGruppo.Value.Trim();
|
||||
}
|
||||
set
|
||||
{
|
||||
hfCodGruppo.Value = value.Trim();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_ST_detail
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// </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.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// </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.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfCodGruppo.
|
||||
/// </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.WebControls.HiddenField hfCodGruppo;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfCodArticolo.
|
||||
/// </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.WebControls.HiddenField hfCodArticolo;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_sheetTech.ascx.cs" Inherits="MoonProTablet.WebUserControls.cmp_sheetTech" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_ST_detail.ascx" TagPrefix="uc1" TagName="cmp_ST_detail" %>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -8,110 +10,28 @@
|
||||
<h4>Scheda Tecnica</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<asp:ListView ID="listGroups" runat="server" DataKeyNames="CodGruppo" DataSourceID="odsGroup" GroupItemCount="3">
|
||||
<AlternatingItemTemplate>
|
||||
<td runat="server" style="background-color: #FFFFFF;color: #284775;">CodGruppo:
|
||||
<div class="row">
|
||||
<asp:Repeater ID="repGroup" runat="server" DataSourceID="odsGroup">
|
||||
<ItemTemplate>
|
||||
<div class="col-md-6 col-12">
|
||||
CodGruppo:
|
||||
<asp:Label ID="CodGruppoLabel" runat="server" Text='<%# Eval("CodGruppo") %>' />
|
||||
<br />
|
||||
DescGruppo:
|
||||
<br />
|
||||
DescGruppo:
|
||||
<asp:Label ID="DescGruppoLabel" runat="server" Text='<%# Eval("DescGruppo") %>' />
|
||||
<br />
|
||||
OrdVisual:
|
||||
<br />
|
||||
OrdVisual:
|
||||
<asp:Label ID="OrdVisualLabel" runat="server" Text='<%# Eval("OrdVisual") %>' />
|
||||
<br />
|
||||
</td>
|
||||
</AlternatingItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<td runat="server" style="background-color: #999999;">CodGruppo:
|
||||
<asp:Label ID="CodGruppoLabel1" runat="server" Text='<%# Eval("CodGruppo") %>' />
|
||||
<br />
|
||||
DescGruppo:
|
||||
<asp:TextBox ID="DescGruppoTextBox" runat="server" Text='<%# Bind("DescGruppo") %>' />
|
||||
<br />
|
||||
OrdVisual:
|
||||
<asp:TextBox ID="OrdVisualTextBox" runat="server" Text='<%# Bind("OrdVisual") %>' />
|
||||
<br />
|
||||
<asp:Button ID="UpdateButton" runat="server" CommandName="Update" Text="Aggiorna" />
|
||||
<br />
|
||||
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="Annulla" />
|
||||
<br />
|
||||
</td>
|
||||
</EditItemTemplate>
|
||||
<EmptyDataTemplate>
|
||||
<table runat="server" style="background-color: #FFFFFF;border-collapse: collapse;border-color: #999999;border-style:none;border-width:1px;">
|
||||
<tr>
|
||||
<td>Non è stato restituito alcun dato.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</EmptyDataTemplate>
|
||||
<EmptyItemTemplate>
|
||||
<td runat="server" />
|
||||
</EmptyItemTemplate>
|
||||
<GroupTemplate>
|
||||
<tr id="itemPlaceholderContainer" runat="server">
|
||||
<td id="itemPlaceholder" runat="server"></td>
|
||||
</tr>
|
||||
</GroupTemplate>
|
||||
<InsertItemTemplate>
|
||||
<td runat="server" style="">CodGruppo:
|
||||
<asp:TextBox ID="CodGruppoTextBox" runat="server" Text='<%# Bind("CodGruppo") %>' />
|
||||
<br />
|
||||
DescGruppo:
|
||||
<asp:TextBox ID="DescGruppoTextBox" runat="server" Text='<%# Bind("DescGruppo") %>' />
|
||||
<br />
|
||||
OrdVisual:
|
||||
<asp:TextBox ID="OrdVisualTextBox" runat="server" Text='<%# Bind("OrdVisual") %>' />
|
||||
<br />
|
||||
<asp:Button ID="InsertButton" runat="server" CommandName="Insert" Text="Inserisci" />
|
||||
<br />
|
||||
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="Cancella" />
|
||||
<br />
|
||||
</td>
|
||||
</InsertItemTemplate>
|
||||
<ItemTemplate>
|
||||
<td runat="server" style="background-color: #E0FFFF;color: #333333;">CodGruppo:
|
||||
<asp:Label ID="CodGruppoLabel" runat="server" Text='<%# Eval("CodGruppo") %>' />
|
||||
<br />
|
||||
DescGruppo:
|
||||
<asp:Label ID="DescGruppoLabel" runat="server" Text='<%# Eval("DescGruppo") %>' />
|
||||
<br />
|
||||
OrdVisual:
|
||||
<asp:Label ID="OrdVisualLabel" runat="server" Text='<%# Eval("OrdVisual") %>' />
|
||||
<br />
|
||||
</td>
|
||||
</ItemTemplate>
|
||||
<LayoutTemplate>
|
||||
<table runat="server">
|
||||
<tr runat="server">
|
||||
<td runat="server">
|
||||
<table id="groupPlaceholderContainer" runat="server" border="1" style="background-color: #FFFFFF;border-collapse: collapse;border-color: #999999;border-style:none;border-width:1px;font-family: Verdana, Arial, Helvetica, sans-serif;">
|
||||
<tr id="groupPlaceholder" runat="server">
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr runat="server">
|
||||
<td runat="server" style="text-align: center;background-color: #5D7B9D;font-family: Verdana, Arial, Helvetica, sans-serif;color: #FFFFFF"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</LayoutTemplate>
|
||||
<SelectedItemTemplate>
|
||||
<td runat="server" style="background-color: #E2DED6;font-weight: bold;color: #333333;">CodGruppo:
|
||||
<asp:Label ID="CodGruppoLabel" runat="server" Text='<%# Eval("CodGruppo") %>' />
|
||||
<br />
|
||||
DescGruppo:
|
||||
<asp:Label ID="DescGruppoLabel" runat="server" Text='<%# Eval("DescGruppo") %>' />
|
||||
<br />
|
||||
OrdVisual:
|
||||
<asp:Label ID="OrdVisualLabel" runat="server" Text='<%# Eval("OrdVisual") %>' />
|
||||
<br />
|
||||
</td>
|
||||
</SelectedItemTemplate>
|
||||
</asp:ListView>
|
||||
|
||||
<div class="small">
|
||||
<uc1:cmp_ST_detail runat="server" ID="cmp_ST_detail" CodGruppo='<%# Eval("CodGruppo") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
</div>
|
||||
<asp:ObjectDataSource ID="odsGroup" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_AnagGruppiTableAdapter"></asp:ObjectDataSource>
|
||||
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="IdxST,Label,Oggetto" DataSourceID="ods" AllowSorting="True">
|
||||
<%-- <asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="IdxST,Label,Oggetto" DataSourceID="ods" AllowSorting="True">
|
||||
<Columns>
|
||||
<asp:BoundField DataField="IdxST" HeaderText="IdxST" SortExpression="IdxST" ReadOnly="True" />
|
||||
<asp:BoundField DataField="Label" HeaderText="Label" ReadOnly="True" SortExpression="Label" />
|
||||
@@ -135,6 +55,6 @@
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfCodGruppo" Value="ART" />
|
||||
<asp:HiddenField runat="server" ID="hfCodArticolo" Value="60682" />
|
||||
<asp:HiddenField runat="server" ID="hfCodArticolo" Value="60682" />--%>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+2
-38
@@ -15,13 +15,13 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo listGroups.
|
||||
/// Controllo repGroup.
|
||||
/// </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.WebControls.ListView listGroups;
|
||||
protected global::System.Web.UI.WebControls.Repeater repGroup;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsGroup.
|
||||
@@ -31,41 +31,5 @@ namespace MoonProTablet.WebUserControls
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsGroup;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// </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.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// </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.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfCodGruppo.
|
||||
/// </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.WebControls.HiddenField hfCodGruppo;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfCodArticolo.
|
||||
/// </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.WebControls.HiddenField hfCodArticolo;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user