update x conteggi e creazione lista prelievo

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@372 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
samuele
2011-05-19 16:37:35 +00:00
parent 287d34b945
commit 0aa9f3d68a
7 changed files with 34 additions and 3243 deletions
@@ -2,24 +2,24 @@
Inherits="GMW.WebUserControls.mod_nuovaListaPrelievo" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<table>
<tr>
<tr style="font-size: 7pt;">
<td>
<asp:Label ID="lblTipo" runat="server" Text='<%# traduci("TipoLista") %>' />
<asp:Label ID="lblTipo" runat="server" />
</td>
<td>
<asp:Label ID="lblParticolare" runat="server" Text='<%# traduci("Particolare") %>' />
<asp:Label ID="lblParticolare" runat="server" />
</td>
<td>
<asp:Label ID="lblEsponente" runat="server" Text='<%# traduci("Esponente") %>' />
<asp:Label ID="lblEsponente" runat="server" />
</td>
<td>
<asp:Label ID="lblFigura" runat="server" Text='<%# traduci("Figura") %>' />
<asp:Label ID="lblFigura" runat="server" />
</td>
<td>
<asp:Label ID="lblQta" runat="server" Text='<%# traduci("Qta") %>' />
<asp:Label ID="lblQta" runat="server" />
</td>
<td>
<asp:Label ID="lblImballo" runat="server" Text='<%# traduci("Imballo") %>' />
<asp:Label ID="lblImballo" runat="server" />
</td>
</tr>
<tr>
@@ -84,7 +84,7 @@
<tr>
<td colspan="6">
<div style="float: left;">
<asp:Label ID="lblDestinatario" runat="server" Text='<%# traduci("Destinatario") %>' />
<asp:Label ID="lblDestinatario" runat="server" Font-Size="7pt" />
<asp:ComboBox ID="ddlDestinatario" runat="server" DataTextField="label" DataValueField="value"
AutoCompleteMode="SuggestAppend" DropDownStyle="DropDownList" AutoPostBack="True"
DataSourceID="odsDestinatario" CssClass="WindowsStyle" MaxLength="0" Style="display: inline;" />
@@ -15,17 +15,35 @@ namespace GMW.WebUserControls
{
if (!Page.IsPostBack)
{
// traduco!
lblTipo.Text = traduci("TipoLista");
lblParticolare.Text = traduci("Particolare");
lblEsponente.Text = traduci("Esponente");
lblFigura.Text = traduci("Figura");
lblQta.Text = traduci("Qta");
lblImballo.Text = traduci("Imballo");
lblDestinatario.Text = traduci("Destinatario");
// all'avvio disabilito ricerca x campi "avanzati..."
ddlEsponente.Visible = false;
ddlFigura.Visible = false;
txtQta.Visible = false;
ddlDestinatario.Visible = false;
ddlImballo.Visible = false;
btnCreaNuova.Visible = false;
setFullControlsVisibility(false);
btnCreaNuova.Text = traduci("CreaNuovaListaPrelievo");
}
checkParticolare();
}
private void setFullControlsVisibility(bool completeVisible)
{
lblEsponente.Visible = completeVisible;
ddlEsponente.Visible = completeVisible;
lblFigura.Visible = completeVisible;
ddlFigura.Visible = completeVisible;
lblQta.Visible = completeVisible;
txtQta.Visible = completeVisible;
lblDestinatario.Visible = completeVisible;
ddlDestinatario.Visible = completeVisible;
lblImballo.Visible = completeVisible;
ddlImballo.Visible = completeVisible;
btnCreaNuova.Visible = completeVisible;
}
/// <summary>
/// wrapper traduzione
/// </summary>
@@ -83,11 +101,7 @@ namespace GMW.WebUserControls
if (particolareOk(txtParticolare.Text.Trim()))
{
// abilito ricerca esponente figura...
ddlEsponente.Visible = true;
ddlFigura.Visible = true;
txtQta.Visible = true;
ddlDestinatario.Visible = true;
ddlImballo.Visible = true;
setFullControlsVisibility(true);
// setto ddl a "*"
ddlEsponente.SelectedValue = "*";
ddlFigura.SelectedValue = "*";
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4952
// Runtime Version:2.0.50727.4959
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.