Creata bozza gestione maschera principale ricerca/operatività magazzino

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@63 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
samuele
2010-05-24 14:10:29 +00:00
parent 354b0ce60e
commit aeba93943d
21 changed files with 515 additions and 3 deletions
+40
View File
@@ -106,6 +106,13 @@
<DependentUpon>menu.aspx</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SearchMag.aspx.cs">
<DependentUpon>SearchMag.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="SearchMag.aspx.designer.cs">
<DependentUpon>SearchMag.aspx</DependentUpon>
</Compile>
<Compile Include="Test.aspx.cs">
<DependentUpon>Test.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -216,6 +223,13 @@
<Compile Include="WebUserControls\mod_confMag.ascx.designer.cs">
<DependentUpon>mod_confMag.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_execUDC.ascx.cs">
<DependentUpon>mod_execUDC.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_execUDC.ascx.designer.cs">
<DependentUpon>mod_execUDC.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_filtro.ascx.cs">
<DependentUpon>mod_filtro.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -272,6 +286,13 @@
<Compile Include="WebUserControls\mod_menuTop.ascx.designer.cs">
<DependentUpon>mod_menuTop.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_metodiNoSearch.ascx.cs">
<DependentUpon>mod_metodiNoSearch.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_metodiNoSearch.ascx.designer.cs">
<DependentUpon>mod_metodiNoSearch.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_pageTitleAndSearch.ascx.cs">
<DependentUpon>mod_pageTitleAndSearch.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -286,6 +307,13 @@
<Compile Include="WebUserControls\mod_ricercaGenerica.ascx.designer.cs">
<DependentUpon>mod_ricercaGenerica.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_searchMag.ascx.cs">
<DependentUpon>mod_searchMag.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_searchMag.ascx.designer.cs">
<DependentUpon>mod_searchMag.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_selettore_ajax.ascx.cs">
<DependentUpon>mod_selettore_ajax.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -293,6 +321,13 @@
<Compile Include="WebUserControls\mod_selettore_ajax.ascx.designer.cs">
<DependentUpon>mod_selettore_ajax.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_showUDC.ascx.cs">
<DependentUpon>mod_showUDC.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_showUDC.ascx.designer.cs">
<DependentUpon>mod_showUDC.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_tipoCella.ascx.cs">
<DependentUpon>mod_tipoCella.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -446,6 +481,7 @@
<Content Include="images\wt_ok.gif" />
<Content Include="login.aspx" />
<Content Include="menu.aspx" />
<Content Include="SearchMag.aspx" />
<Content Include="Style.css" />
<Content Include="Test.aspx" />
<Content Include="vocabolario.aspx" />
@@ -461,6 +497,7 @@
<Content Include="WebUserControls\mod_anagMagazzini.ascx" />
<Content Include="WebUserControls\mod_chLang.ascx" />
<Content Include="WebUserControls\mod_confMag.ascx" />
<Content Include="WebUserControls\mod_execUDC.ascx" />
<Content Include="WebUserControls\mod_filtro.ascx" />
<Content Include="WebUserControls\mod_lemmiVocab.ascx" />
<Content Include="WebUserControls\mod_login.ascx" />
@@ -469,9 +506,12 @@
<Content Include="WebUserControls\mod_menuBottomPortable.ascx" />
<Content Include="WebUserControls\mod_menuSx.ascx" />
<Content Include="WebUserControls\mod_menuTop.ascx" />
<Content Include="WebUserControls\mod_metodiNoSearch.ascx" />
<Content Include="WebUserControls\mod_pageTitleAndSearch.ascx" />
<Content Include="WebUserControls\mod_ricercaGenerica.ascx" />
<Content Include="WebUserControls\mod_searchMag.ascx" />
<Content Include="WebUserControls\mod_selettore_ajax.ascx" />
<Content Include="WebUserControls\mod_showUDC.ascx" />
<Content Include="WebUserControls\mod_tipoCella.ascx" />
<Content Include="WebUserControls\mod_vocabolario.ascx" />
</ItemGroup>
+5
View File
@@ -0,0 +1,5 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Ajax.master" AutoEventWireup="true" CodeBehind="SearchMag.aspx.cs" Inherits="GMW.SearchMag" %>
<%@ Register src="WebUserControls/mod_searchMag.ascx" tagname="mod_searchMag" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<uc1:mod_searchMag ID="mod_searchMag1" runat="server" />
</asp:Content>
+17
View File
@@ -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 GMW
{
public partial class SearchMag : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+25
View File
@@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW {
public partial class SearchMag {
/// <summary>
/// mod_searchMag1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GMW.WebUserControls.mod_searchMag mod_searchMag1;
}
}
+2
View File
@@ -0,0 +1,2 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_execUDC.ascx.cs" Inherits="GMW.WebUserControls.mod_execUDC" %>
modulo operazioni consentite su UDC
@@ -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 GMW.WebUserControls
{
public partial class mod_execUDC : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+16
View File
@@ -0,0 +1,16 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW.WebUserControls {
public partial class mod_execUDC {
}
}
@@ -0,0 +1,18 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_metodiNoSearch.ascx.cs"
Inherits="GMW.WebUserControls.mod_metodiNoSearch" %>
<table>
<tr>
<td>
<asp:Button ID="Button1" runat="server" Text="uno" Width="100px" />
</td>
<td>
<asp:Button ID="Button2" runat="server" Text="due" Width="100px" />
</td>
<td>
<asp:Button ID="Button3" runat="server" Text="tre" Width="100px" />
</td>
<td>
<asp:Button ID="Button4" runat="server" Text="quattro" Width="100px" />
</td>
</tr>
</table>
@@ -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 GMW.WebUserControls
{
public partial class mod_metodiNoSearch : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
@@ -0,0 +1,52 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW.WebUserControls {
public partial class mod_metodiNoSearch {
/// <summary>
/// Button1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button Button1;
/// <summary>
/// Button2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button Button2;
/// <summary>
/// Button3 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button Button3;
/// <summary>
/// Button4 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button Button4;
}
}
@@ -0,0 +1,53 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_searchMag.ascx.cs"
Inherits="GMW.WebUserControls.mod_searchMag" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc2" %>
<%@ Register Src="mod_showUDC.ascx" TagName="mod_showUDC" TagPrefix="uc1" %>
<%@ Register src="mod_metodiNoSearch.ascx" tagname="mod_metodiNoSearch" tagprefix="uc3" %>
<div style="width: 1024px; margin: 0 auto; background: white; vertical-align: text-top;">
<div style="font-size: 48pt; font-family: 'times New Roman', Times, serif; text-align: center;
width: 100%;">
<span style="color: Blue;">G</span><span style="color: red;">M</span><span style="color: #FFD700;">W</span><span
style="color: Blue;">m</span><span style="color: green;">a</span><span style="color: Red;">g</span>
</div>
<div style="text-align: center;">
<asp:TextBox runat="server" ID="txtSearch" Width="20em" OnTextChanged="txtSearch_TextChanged" />&nbsp;<asp:Button
runat="server" ID="btnSearch" OnClick="btnSearch_Click" /><cc1:TextBoxWatermarkExtender
ID="TBWE_search" runat="server" TargetControlID="txtSearch" WatermarkCssClass="watermarked" />
<asp:UpdateProgress ID="updtRicerca" runat="server" DisplayAfter="10" DynamicLayout="true">
<ProgressTemplate>
<div id="progress_back">
</div>
<div id="progress_top">
<asp:Image ID="ProgressBar" ImageUrl="~/images/ProgressBar.gif" runat="server" />
</div>
</ProgressTemplate>
</asp:UpdateProgress>
</div>
<div style="text-align: center; font-size: 8pt;">
<table cellspacing="0" cellpadding="4" border="0">
<tr>
<td valign="top">
<asp:Panel runat="server" ID="pnlResults">
<h3>
<asp:Label runat="server" ID="lblTipoSearch" />
</h3>
<uc1:mod_showUDC ID="mod_showUDC1" runat="server" />
</asp:Panel>
<asp:Panel runat="server" ID="pnlEmpty" Height="100px">
</asp:Panel>
</td>
<td valign="top">
<asp:Panel runat="server" ID="pnlMethod">
metodi ammessi
</asp:Panel>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<uc3:mod_metodiNoSearch ID="mod_metodiNoSearch1" runat="server" />
</td>
</tr>
</table>
</div>
</div>
@@ -0,0 +1,109 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
namespace GMW.WebUserControls
{
public partial class mod_searchMag : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
doTraduci();
pnlEmpty.Visible = true;
pnlResults.Visible = false;
pnlMethod.Visible = false;
}
//mod_elencoObj1.eh_selValore += new EventHandler(mod_elencoObj1_eh_selValore);
//mod_elencoObj1.eh_resetSelezione += new EventHandler(mod_elencoObj1_eh_resetSelezione);
}
void mod_elencoObj1_eh_resetSelezione(object sender, EventArgs e)
{
//mod_dettaglioImpieghiObj1.Visible = false;
//mod_elencoObj1.noBorder();
}
void mod_elencoObj1_eh_selValore(object sender, EventArgs e)
{
//if (!mod_dettaglioImpieghiObj1.Visible)
//{
// mod_dettaglioImpieghiObj1.Visible = true;
//}
//mod_dettaglioImpieghiObj1.doUpdate();
//mod_elencoObj1.addBorder();
}
private void doTraduci()
{
btnSearch.Text = traduci("btnSearch");
TBWE_search.WatermarkText = traduci("insertCod4search");
}
protected void txtSearch_TextChanged(object sender, EventArgs e)
{
doSearch();
}
protected void btnSearch_Click(object sender, EventArgs e)
{
doSearch();
}
private void doSearch()
{
string testoCercato = txtSearch.Text.Trim();
if (testoCercato != "")
{
pnlEmpty.Visible = false;
pnlResults.Visible = true;
// in base al tipo di richiesta determino che risultati visualizzare...
switch (testoCercato.Substring(0,1))
{
case "I":
lblTipoSearch.Text = traduci("RicercaImballi");
mod_showUDC1.Visible = false;
break;
case "M":
lblTipoSearch.Text = traduci("RicercaMagazzino");
mod_showUDC1.Visible = false;
break;
case "O":
lblTipoSearch.Text = traduci("RicercaOperatore");
mod_showUDC1.Visible = false;
break;
case "U":
lblTipoSearch.Text = traduci("RicercaUDC");
mod_showUDC1.Visible = true;
break;
default:
lblTipoSearch.Text = traduci("RicercaGenerica");
mod_showUDC1.Visible = false;
break;
}
//mod_elencoObj1.testoCercato = testoCercato;
pnlMethod.Visible = false;
//mod_elencoObj1.noBorder();
}
else
{
pnlEmpty.Visible = true;
pnlResults.Visible = false;
}
}
/// <summary>
/// wrapper metodo traduzione
/// </summary>
/// <param name="lemma"></param>
/// <returns></returns>
public string traduci(string lemma)
{
return user_std.UtSn.Traduci(lemma);
}
}
}
+106
View File
@@ -0,0 +1,106 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW.WebUserControls {
public partial class mod_searchMag {
/// <summary>
/// txtSearch control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtSearch;
/// <summary>
/// btnSearch control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnSearch;
/// <summary>
/// TBWE_search control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.TextBoxWatermarkExtender TBWE_search;
/// <summary>
/// updtRicerca control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdateProgress updtRicerca;
/// <summary>
/// pnlResults control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Panel pnlResults;
/// <summary>
/// lblTipoSearch control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTipoSearch;
/// <summary>
/// mod_showUDC1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GMW.WebUserControls.mod_showUDC mod_showUDC1;
/// <summary>
/// pnlEmpty control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Panel pnlEmpty;
/// <summary>
/// pnlMethod control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Panel pnlMethod;
/// <summary>
/// mod_metodiNoSearch1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GMW.WebUserControls.mod_metodiNoSearch mod_metodiNoSearch1;
}
}
+2
View File
@@ -0,0 +1,2 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_showUDC.ascx.cs" Inherits="GMW.WebUserControls.mod_showUDC" %>
risultati di dettaglio per UDC
@@ -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 GMW.WebUserControls
{
public partial class mod_showUDC : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+16
View File
@@ -0,0 +1,16 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW.WebUserControls {
public partial class mod_showUDC {
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3 -3
View File
@@ -349,14 +349,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW"
"ProductCode" = "8:{149D4565-B13E-4B8B-8820-163E5CA363F5}"
"PackageCode" = "8:{110CA267-F673-44EE-AAD9-343A88C16DCF}"
"ProductCode" = "8:{665D9EA2-CE5A-43EF-88BA-7909D7E2419E}"
"PackageCode" = "8:{45BB2054-D9C9-445E-A379-BAF8551B513D}"
"UpgradeCode" = "8:{C9BC0732-DC92-4336-BAC9-A05A5D2A97C0}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:1.0.37"
"ProductVersion" = "8:1.0.50"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"