Aggiunta running kit sulle pagine dove necessario
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_kitRunning.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_kitRunning" %>
|
||||
|
||||
|
||||
<%--<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="PackListID" DataSourceID="odsKit" Width="100%" CssClass="table table-success table-striped table-sm">
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<EmptyDataTemplate>
|
||||
<%# traduci("NoKitReqRunning") %>
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:BoundField DataField="PackListID" HeaderText="PackListID" ReadOnly="True" SortExpression="PackListID" />
|
||||
<asp:BoundField DataField="BatchName" HeaderText="BatchName" SortExpression="BatchName" />
|
||||
<asp:BoundField DataField="ImportDate" HeaderText="ImportDate" SortExpression="ImportDate" ItemStyle-CssClass="text-right">
|
||||
</asp:BoundField>
|
||||
<asp:BoundField DataField="StatusID" HeaderText="StatusID" SortExpression="StatusID" />
|
||||
<asp:BoundField DataField="NumKit" HeaderText="NumKit" SortExpression="NumKit" />
|
||||
<asp:BoundField DataField="NumParts" HeaderText="NumParts" SortExpression="NumParts" />
|
||||
<asp:BoundField DataField="TotQty" HeaderText="TotQty" SortExpression="TotQty" />
|
||||
<asp:BoundField DataField="StatusDesc" HeaderText="StatusDesc" ReadOnly="True" SortExpression="StatusDesc" />
|
||||
<asp:BoundField DataField="SchedPrior" HeaderText="SchedPrior" SortExpression="SchedPrior" />
|
||||
</Columns>
|
||||
</asp:GridView>--%>
|
||||
<asp:FormView ID="frmView" runat="server" DataKeyNames="PackListID" DataSourceID="odsKit" Width="100%">
|
||||
<ItemTemplate>
|
||||
<div class="row table-success border-success">
|
||||
<div class="col-4 col-lg-2 text-center textCondens"># <b><asp:Label ID="PackListIDLabel" runat="server" Text='<%# Eval("PackListID") %>' /></b></div>
|
||||
<div class="col-4 col-lg-2 text-center textCondens"><b><asp:Label ID="BatchNameLabel" runat="server" Text='<%# Bind("BatchName") %>' /></b></div>
|
||||
<div class="col-4 col-lg-2 text-center textCondens"><b><asp:Label ID="StatusDescLabel" runat="server" Text='<%# Bind("StatusDesc") %>' /></b></div>
|
||||
<div class="col-4 col-lg-2 text-center textCondens">KIT #: <b><asp:Label ID="NumKitLabel" runat="server" Text='<%# Bind("NumKit") %>' /></b></div>
|
||||
<div class="col-4 col-lg-2 text-center textCondens">Parts #: <b><asp:Label ID="NumPartsLabel" runat="server" Text='<%# Bind("NumParts") %>' /></b></div>
|
||||
<div class="col-4 col-lg-2 text-center textCondens">Tot #: <b><asp:Label ID="TotQtyLabel" runat="server" Text='<%# Bind("TotQty") %>' /></b></div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="odsKit" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getRunning" TypeName="AppData.DS_AppTableAdapters.PackListTableAdapter"></asp:ObjectDataSource>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace NKC_WF.WebUserControls
|
||||
{
|
||||
public partial class cmp_kitRunning : BaseUserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 NKC_WF.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_kitRunning
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo frmView.
|
||||
/// </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.FormView frmView;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsKit.
|
||||
/// </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 odsKit;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user