prima bozza ricerca particolare: filtro e mostro blocchi che contengono (FIFO)

This commit is contained in:
samuele
2012-10-01 16:14:11 +02:00
parent 28efdb1c4f
commit 680a4316d5
18 changed files with 1233 additions and 194 deletions
+9 -3
View File
@@ -1,15 +1,21 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_search.ascx.cs"
Inherits="GMW_Term.WebUserControls.mod_search" %>
<%@ Register Src="mod_searchResults.ascx" TagName="mod_searchResults" TagPrefix="uc1" %>
<% if (false)
{ %>
<link href="../Style.css" rel="stylesheet" type="text/css" />
<% } %>
<div id="contenuto" style="text-align: center; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;">
<div id="InputTitle" style="padding: 0px 0px 0px 0px;">
<asp:Label ID="lblInput" runat="server" Text="Ricerca Libera" Font-Size="X-Small" /></div>
<div id="Data" style="padding-bottom: 0px;">
<asp:TextBox ID="txtRicerca" runat="server" OnTextChanged="txtRicerca_TextChanged" Height="10px" Font-Size="X-Small" />
<asp:TextBox ID="txtRicerca" runat="server" OnTextChanged="txtRicerca_TextChanged"
Height="10px" Font-Size="X-Small" />
</div>
<div id="Div1">
<asp:Button ID="btnLoginPage" runat="server" OnClick="btnLoginPage_Click" CssClass="btnLogout" Visible="false" />
<asp:Button ID="btnButtonsHome" runat="server" OnClick="btnButtonsHome_Click" CssClass="btnHome"/>
<asp:Button ID="btnLoginPage" runat="server" OnClick="btnLoginPage_Click" CssClass="btnLogout"
Visible="false" />
<asp:Button ID="btnButtonsHome" runat="server" OnClick="btnButtonsHome_Click" CssClass="btnHome" />
</div>
</div>
<uc1:mod_searchResults ID="mod_searchResults1" runat="server" />
+1 -2
View File
@@ -1,10 +1,9 @@
//------------------------------------------------------------------------------
// <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.
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -0,0 +1,29 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_searchRes.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_searchRes" %>
<% if (false)
{ %>
<link href="../Style.css" rel="stylesheet" type="text/css" />
<% } %>
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False"
DataKeyNames="IdxBlocco" Width="100%"
DataSourceID="ods" EnableModelValidation="True">
<Columns>
<asp:BoundField DataField="DescBlocco" HeaderText="Blocco"
SortExpression="DescBlocco" />
<asp:BoundField DataField="NumUDC" HeaderText="UDC" ReadOnly="True"
SortExpression="NumUDC" />
<asp:BoundField DataField="QtaTotPz" HeaderText="Tot Pz" ReadOnly="True"
SortExpression="QtaTotPz" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server"
OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData"
TypeName="GMW_data.DS_magazzinoTableAdapters.stp_MagFifoByParticolareTableAdapter">
<SelectParameters>
<asp:SessionParameter DefaultValue="TK" Name="CodCS" SessionField="CodCS"
Type="String" />
<asp:SessionParameter DefaultValue="AINT5122" Name="Particolare"
SessionField="Part_Sel" Type="String" />
</SelectParameters>
</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 GMW_Term.WebUserControls
{
public partial class mod_searchRes : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+33
View File
@@ -0,0 +1,33 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW_Term.WebUserControls {
public partial class mod_searchRes {
/// <summary>
/// grView 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.GridView grView;
/// <summary>
/// ods 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.ObjectDataSource ods;
}
}