Files
GMW/GMW/GMW_Term/WebUserControls/mod_execUdc.ascx
T
samuele b3cb6e7d61 inserito modulo x gestione "executions"
inserita prima versione controllo enabled dei buttons

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@184 365432ac-a1b5-4ffd-bb28-6d3099d32164
2010-08-03 15:12:45 +00:00

229 lines
10 KiB
Plaintext

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_execUdc.ascx.cs"
Inherits="GMW_Term.WebUserControls.mod_execUdc" %>
<div id="smallTable">
<asp:FormView ID="frmView" runat="server" DataKeyNames="UDC" DataSourceID="ods">
<EditItemTemplate>
UDC:
<asp:Label ID="UDCLabel1" runat="server" Text='<%# Eval("UDC") %>' />
<br />
RagSociale:
<asp:TextBox ID="RagSocialeTextBox" runat="server" Text='<%# Bind("RagSociale") %>' />
<br />
Particolare:
<asp:TextBox ID="ParticolareTextBox" runat="server" Text='<%# Bind("Particolare") %>' />
<br />
DescParticolare:
<asp:TextBox ID="DescParticolareTextBox" runat="server" Text='<%# Bind("DescParticolare") %>' />
<br />
DisegnoGrezzo:
<asp:TextBox ID="DisegnoGrezzoTextBox" runat="server" Text='<%# Bind("DisegnoGrezzo") %>' />
<br />
Esponente:
<asp:TextBox ID="EsponenteTextBox" runat="server" Text='<%# Bind("Esponente") %>' />
<br />
DescImpianto:
<asp:TextBox ID="DescImpiantoTextBox" runat="server" Text='<%# Bind("DescImpianto") %>' />
<br />
DataFus:
<asp:TextBox ID="DataFusTextBox" runat="server" Text='<%# Bind("DataFus") %>' />
<br />
TurnoFus:
<asp:TextBox ID="TurnoFusTextBox" runat="server" Text='<%# Bind("TurnoFus") %>' />
<br />
CodImballo:
<asp:TextBox ID="CodImballoTextBox" runat="server" Text='<%# Bind("CodImballo") %>' />
<br />
Qta:
<asp:TextBox ID="QtaTextBox" runat="server" Text='<%# Bind("Qta") %>' />
<br />
DescStato:
<asp:TextBox ID="DescStatoTextBox" runat="server" Text='<%# Bind("DescStato") %>' />
<br />
ModDate:
<asp:TextBox ID="ModDateTextBox" runat="server" Text='<%# Bind("ModDate") %>' />
<br />
CodMag:
<asp:TextBox ID="CodMagTextBox" runat="server" Text='<%# Bind("CodMag") %>' />
<br />
CodBlocco:
<asp:TextBox ID="CodBloccoTextBox" runat="server" Text='<%# Bind("CodBlocco") %>' />
<br />
CodCella:
<asp:TextBox ID="CodCellaTextBox" runat="server" Text='<%# Bind("CodCella") %>' />
<br />
X:
<asp:TextBox ID="XTextBox" runat="server" Text='<%# Bind("X") %>' />
<br />
Y:
<asp:TextBox ID="YTextBox" runat="server" Text='<%# Bind("Y") %>' />
<br />
Z:
<asp:TextBox ID="ZTextBox" runat="server" Text='<%# Bind("Z") %>' />
<br />
IdxCella:
<asp:TextBox ID="IdxCellaTextBox" runat="server" Text='<%# Bind("IdxCella") %>' />
<br />
<asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
Text="Update" />
&nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False"
CommandName="Cancel" Text="Cancel" />
</EditItemTemplate>
<ItemTemplate>
UDC:
<asp:Label ID="UDCLabel" runat="server" Text='<%# Eval("UDC") %>' />
<br />
Particolare:
<asp:Label ID="ParticolareLabel" runat="server" Text='<%# Bind("Particolare") %>' />
<br />
<asp:Label ID="DescParticolareLabel" runat="server" Text='<%# Bind("DescParticolare") %>' />
DisegnoGrezzo:
<asp:Label ID="DisegnoGrezzoLabel" runat="server" Text='<%# Bind("DisegnoGrezzo") %>' />
<br />
Esponente:
<asp:Label ID="EsponenteLabel" runat="server" Text='<%# Bind("Esponente") %>' />
Qta:
<asp:Label ID="QtaLabel" runat="server" Text='<%# Bind("Qta") %>' />
<br />
DescStato:
<asp:Label ID="DescStatoLabel" runat="server" Text='<%# Bind("DescStato") %>' />
<table>
<tr>
<td>
CodMag:
<asp:Label ID="CodMagLabel" runat="server" Text='<%# Bind("CodMag") %>' />
</td>
<td>
CodBlocco:
<asp:Label ID="CodBloccoLabel" runat="server" Text='<%# Bind("CodBlocco") %>' />
</td>
</tr>
</table>
CodCella:
<asp:Label ID="CodCellaLabel" runat="server" Text='<%# Bind("CodCella") %>' />
<table>
<tr>
<td>
X:
<asp:Label ID="XLabel" runat="server" Text='<%# Bind("X") %>' />
</td>
<td>
Y:
<asp:Label ID="YLabel" runat="server" Text='<%# Bind("Y") %>' />
</td>
<td>
Z:
<asp:Label ID="ZLabel" runat="server" Text='<%# Bind("Z") %>' />
</td>
</tr>
</table>
</ItemTemplate>
<%--<ItemTemplate>
UDC:
<asp:Label ID="UDCLabel" runat="server" Text='<%# Eval("UDC") %>' />
<br />
RagSociale:
<asp:Label ID="RagSocialeLabel" runat="server" Text='<%# Bind("RagSociale") %>' />
<br />
Particolare:
<asp:Label ID="ParticolareLabel" runat="server" Text='<%# Bind("Particolare") %>' />
<br />
DescParticolare:
<asp:Label ID="DescParticolareLabel" runat="server" Text='<%# Bind("DescParticolare") %>' />
<br />
DisegnoGrezzo:
<asp:Label ID="DisegnoGrezzoLabel" runat="server" Text='<%# Bind("DisegnoGrezzo") %>' />
<br />
Esponente:
<asp:Label ID="EsponenteLabel" runat="server" Text='<%# Bind("Esponente") %>' />
<br />
DescImpianto:
<asp:Label ID="DescImpiantoLabel" runat="server" Text='<%# Bind("DescImpianto") %>' />
<br />
DataFus:
<asp:Label ID="DataFusLabel" runat="server" Text='<%# Bind("DataFus") %>' />
<br />
TurnoFus:
<asp:Label ID="TurnoFusLabel" runat="server" Text='<%# Bind("TurnoFus") %>' />
<br />
CodImballo:
<asp:Label ID="CodImballoLabel" runat="server" Text='<%# Bind("CodImballo") %>' />
<br />
Qta:
<asp:Label ID="QtaLabel" runat="server" Text='<%# Bind("Qta") %>' />
<br />
DescStato:
<asp:Label ID="DescStatoLabel" runat="server" Text='<%# Bind("DescStato") %>' />
<br />
ModDate:
<asp:Label ID="ModDateLabel" runat="server" Text='<%# Bind("ModDate") %>' />
<br />
CodMag:
<asp:Label ID="CodMagLabel" runat="server" Text='<%# Bind("CodMag") %>' />
<br />
CodBlocco:
<asp:Label ID="CodBloccoLabel" runat="server" Text='<%# Bind("CodBlocco") %>' />
<br />
CodCella:
<asp:Label ID="CodCellaLabel" runat="server" Text='<%# Bind("CodCella") %>' />
<br />
X:
<asp:Label ID="XLabel" runat="server" Text='<%# Bind("X") %>' />
<br />
Y:
<asp:Label ID="YLabel" runat="server" Text='<%# Bind("Y") %>' />
<br />
Z:
<asp:Label ID="ZLabel" runat="server" Text='<%# Bind("Z") %>' />
<br />
IdxCella:
<asp:Label ID="IdxCellaLabel" runat="server" Text='<%# Bind("IdxCella") %>' />
<br />
</ItemTemplate>--%>
</asp:FormView>
</div>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getByFullUdc" TypeName="GMW_data.DS_magazzinoTableAdapters.v_UdcDetailTableAdapter">
<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>
<asp:Panel ID="pnlButtons" runat="server">
<table>
<tr>
<td>
<asp:Button ID="btnDeposita" runat="server" Width="100px" OnClick="btnDeposita_Click" />
</td>
<td>
<asp:Button ID="btnSposta" runat="server" Width="100px" />
</td>
</tr>
<tr>
<td>
<asp:Button ID="btnRettifica" runat="server" Width="100px" />
</td>
<td>
<asp:Button ID="btnPreleva" runat="server" Width="100px" />
</td>
</tr>
<tr>
<td colspan="2">
<asp:Button ID="btnChiudi" runat="server" Width="100px" OnClick="btnChiudi_Click" />
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="pnlInput" Visible="false" runat="server">
<div id="InputBox" style="text-align: center; padding-bottom: 4px;">
<asp:TextBox ID="txtInput" runat="server" Text="" Width="200px" OnTextChanged="txtInput_TextChanged" />
<div id="Data" style="padding-bottom: 2px;">
<asp:Label ID="lblData" runat="server" Text="" />
</div>
<div>
<asp:Button runat="server" ID="btnConferma" TabIndex="0" Enabled="false" OnClick="btnConferma_Click"
Width="100px" />
<asp:Button ID="btnCellaPiena" runat="server" Enabled="false" Width="100px" OnClick="btnCellaPiena_Click" />
</div>
</div>
</asp:Panel>