245 lines
11 KiB
Plaintext
245 lines
11 KiB
Plaintext
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_execUdc.ascx.cs"
|
|
Inherits="GMW_Term.WebUserControls.mod_execUdc" %>
|
|
<%@ Register Src="mod_btnUdc.ascx" TagName="mod_btnUdc" TagPrefix="uc1" %>
|
|
<div id="smallTable">
|
|
<asp:FormView ID="frmView" runat="server" DataKeyNames="UDC" DataSourceID="ods" OnItemUpdated="frmView_ItemUpdated"
|
|
OnModeChanged="frmView_ModeChanged">
|
|
<EditItemTemplate>
|
|
<div style="font-size: 8pt;">
|
|
<div style="float: left;">
|
|
<div style="float: left;">
|
|
UDC:
|
|
</div>
|
|
<div style="float: right;">
|
|
<b>
|
|
<asp:Label ID="Label1" runat="server" Text='<%# Eval("UDC") %>' /></b>
|
|
</div>
|
|
</div>
|
|
<div style="float: left;">
|
|
<div style="float: left;">
|
|
Particolare:
|
|
</div>
|
|
<div style="float: right;">
|
|
<b>
|
|
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Particolare") %>' /></b>
|
|
</div>
|
|
</div>
|
|
<div style="float: none; text-align: center;">
|
|
<i>
|
|
<asp:Label ID="Label3" runat="server" Text='<%# Bind("DescParticolare") %>' /></i>
|
|
</div>
|
|
<div style="float: left;">
|
|
<div style="float: left;">
|
|
DisegnoGrezzo:
|
|
</div>
|
|
<div style="float: right;">
|
|
<b>
|
|
<asp:Label ID="Label4" runat="server" Text='<%# Bind("DisegnoGrezzo") %>' /></b>
|
|
</div>
|
|
</div>
|
|
<div style="float: left; width: 50%;">
|
|
<div style="float: left;">
|
|
Esponente:
|
|
</div>
|
|
<div style="float: right;">
|
|
<b>
|
|
<asp:Label ID="Label5" runat="server" Text='<%# Bind("Esponente") %>' /></b>
|
|
</div>
|
|
</div>
|
|
<div style="float: right; width: 50%;">
|
|
<div style="float: right;">
|
|
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Qta") %>' Width="3em" Height="0.9em" />
|
|
</div>
|
|
<div style="float: right;">
|
|
Qta:
|
|
</div>
|
|
</div>
|
|
<div style="float: left; width: 100%;">
|
|
<div style="float: left; width: 50%;">
|
|
<div style="float: left;">
|
|
CodMag:
|
|
</div>
|
|
<div style="float: left;">
|
|
<b>
|
|
<asp:Label ID="Label6" runat="server" Text='<%# Bind("CodMag") %>' /></b>
|
|
</div>
|
|
</div>
|
|
<div style="float: right; width: 50%;">
|
|
<div style="float: right;">
|
|
<b>
|
|
<asp:Label ID="Label7" runat="server" Text='<%# Bind("CodBlocco") %>' />
|
|
</b>
|
|
</div>
|
|
<div style="float: right;">
|
|
CodBlocco:
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div style="float: left; width: 50%;">
|
|
<div style="float: left;">
|
|
CodCella:
|
|
</div>
|
|
<div style="float: left;">
|
|
<b>
|
|
<asp:Label ID="Label8" runat="server" Text='<%# Bind("CodCella") %>' /></b>
|
|
</div>
|
|
</div>
|
|
<div style="float: right; width: 50%;">
|
|
<div style="float: right;">
|
|
<div style="float: left; margin-right: 2px;">
|
|
X:
|
|
</div>
|
|
<div style="float: left; margin-right: 2px;">
|
|
<b>
|
|
<asp:Label ID="Label9" runat="server" Text='<%# Bind("X") %>' /></b>
|
|
</div>
|
|
<div style="float: left; margin-right: 2px;">
|
|
Y:
|
|
</div>
|
|
<div style="float: left; margin-right: 2px;">
|
|
<b>
|
|
<asp:Label ID="Label10" runat="server" Text='<%# Bind("Y") %>' /></b>
|
|
</div>
|
|
<div style="float: left; margin-right: 2px;">
|
|
Z:
|
|
</div>
|
|
<div style="float: left; margin-right: 2px;">
|
|
<b>
|
|
<asp:Label ID="Label11" runat="server" Text='<%# Bind("Z") %>' /></b>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div style="width:100%; text-align:center; padding-left:1px;">
|
|
<div style="float: left;">
|
|
<asp:Button ID="btnUpdate" runat="server" Width="100px" CausesValidation="True" CommandName="Update"
|
|
AccessKey="6" Text="[6] - Update" CssClass="btnUpdate" />
|
|
</div>
|
|
<div style="float: left;">
|
|
<asp:Button ID="btnCancel" runat="server" Width="100px" CausesValidation="True" CommandName="Cancel"
|
|
AccessKey="4" Text="[4] - Cancel" CssClass="btnCancel" />
|
|
</div>
|
|
</div>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div style="font-size: 8pt;">
|
|
<div style="float: left;">
|
|
<div style="float: left;">
|
|
UDC:
|
|
</div>
|
|
<div style="float: right;">
|
|
<b>
|
|
<asp:Label ID="UDCLabel" runat="server" Text='<%# Eval("UDC") %>' /></b>
|
|
</div>
|
|
</div>
|
|
<div style="float: left;">
|
|
<div style="float: left;">
|
|
Particolare:
|
|
</div>
|
|
<div style="float: right;">
|
|
<b>
|
|
<asp:Label ID="ParticolareLabel" runat="server" Text='<%# Bind("Particolare") %>' /></b>
|
|
</div>
|
|
</div>
|
|
<div style="float: none; text-align: center;">
|
|
<i>
|
|
<asp:Label ID="DescParticolareLabel" runat="server" Text='<%# Bind("DescParticolare") %>' /></i>
|
|
</div>
|
|
<div style="float: left;">
|
|
<div style="float: left;">
|
|
DisegnoGrezzo:
|
|
</div>
|
|
<div style="float: right;">
|
|
<b>
|
|
<asp:Label ID="DisegnoGrezzoLabel" runat="server" Text='<%# Bind("DisegnoGrezzo") %>' /></b>
|
|
</div>
|
|
</div>
|
|
<div style="float: left; width: 50%;">
|
|
<div style="float: left;">
|
|
Esponente:
|
|
</div>
|
|
<div style="float: right;">
|
|
<b>
|
|
<asp:Label ID="EsponenteLabel" runat="server" Text='<%# Bind("Esponente") %>' /></b>
|
|
</div>
|
|
</div>
|
|
<div style="float: right; width: 50%;">
|
|
<div style="float: right;">
|
|
<b>
|
|
<asp:Label ID="QtaLabel" runat="server" Text='<%# Bind("Qta") %>' /></b>
|
|
</div>
|
|
<div style="float: right;">
|
|
Qta:
|
|
</div>
|
|
</div>
|
|
<div style="float: left; width: 50%;">
|
|
<div style="float: left;">
|
|
CodMag:
|
|
</div>
|
|
<div style="float: left;">
|
|
<b>
|
|
<asp:Label ID="CodMagLabel" runat="server" Text='<%# Bind("CodMag") %>' /></b>
|
|
</div>
|
|
</div>
|
|
<div style="float: right; width: 50%;">
|
|
<div style="float: right;">
|
|
<b>
|
|
<asp:Label ID="CodBloccoLabel" runat="server" Text='<%# Bind("CodBlocco") %>' />
|
|
</b>
|
|
</div>
|
|
<div style="float: right;">
|
|
CodBlocco:
|
|
</div>
|
|
</div>
|
|
<div style="float: left; width: 50%;">
|
|
<div style="float: left;">
|
|
CodCella:
|
|
</div>
|
|
<div style="float: left;">
|
|
<b>
|
|
<asp:Label ID="CodCellaLabel" runat="server" Text='<%# Bind("CodCella") %>' /></b>
|
|
</div>
|
|
</div>
|
|
<div style="float: right; width: 50%;">
|
|
<div style="float: right;">
|
|
<div style="float: left; margin-right: 2px;">
|
|
X:
|
|
</div>
|
|
<div style="float: left; margin-right: 2px;">
|
|
<b>
|
|
<asp:Label ID="XLabel" runat="server" Text='<%# Bind("X") %>' /></b>
|
|
</div>
|
|
<div style="float: left; margin-right: 2px;">
|
|
Y:
|
|
</div>
|
|
<div style="float: left; margin-right: 2px;">
|
|
<b>
|
|
<asp:Label ID="YLabel" runat="server" Text='<%# Bind("Y") %>' /></b>
|
|
</div>
|
|
<div style="float: left; margin-right: 2px;">
|
|
Z:
|
|
</div>
|
|
<div style="float: left; margin-right: 2px;">
|
|
<b>
|
|
<asp:Label ID="ZLabel" runat="server" Text='<%# Bind("Z") %>' /></b>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ItemTemplate>
|
|
</asp:FormView>
|
|
</div>
|
|
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}"
|
|
SelectMethod="getByFullUdc" TypeName="GMW_data.DS_magazzinoTableAdapters.v_UdcDetailTableAdapter"
|
|
OnUpdating="ods_Updating" UpdateMethod="getByFullUdc">
|
|
<UpdateParameters>
|
|
<asp:Parameter Name="UDC" Type="String" />
|
|
<asp:Parameter Name="CodCS" Type="String" />
|
|
</UpdateParameters>
|
|
<SelectParameters>
|
|
<asp:SessionParameter DefaultValue="U" Name="UDC" SessionField="UDC_sel" Type="String" />
|
|
<asp:SessionParameter DefaultValue="MM" Name="CodCS" SessionField="CodCS" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<uc1:mod_btnUdc ID="mod_btnUdc1" runat="server" />
|