Aggiunta visualizzazione elenco LDP da ricerca "google like"

This commit is contained in:
samuele
2012-10-08 12:14:40 +02:00
parent c8fc402c31
commit 2e8672b419
10 changed files with 92 additions and 0 deletions
+8
View File
@@ -615,6 +615,13 @@
<Compile Include="WebUserControls\mod_detailUDC_storico.ascx.designer.cs">
<DependentUpon>mod_detailUDC_storico.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_detLDP.ascx.cs">
<DependentUpon>mod_detLDP.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_detLDP.ascx.designer.cs">
<DependentUpon>mod_detLDP.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_dettaglioBlocco.ascx.cs">
<DependentUpon>mod_dettaglioBlocco.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -1177,6 +1184,7 @@
<Content Include="WebUserControls\mod_detailParticolari.ascx" />
<Content Include="WebUserControls\mod_detailUDC.ascx" />
<Content Include="WebUserControls\mod_detailUDC_storico.ascx" />
<Content Include="WebUserControls\mod_detLDP.ascx" />
<Content Include="WebUserControls\mod_dettaglioBlocco.ascx" />
<Content Include="WebUserControls\mod_dettCelleBlocco.ascx" />
<Content Include="WebUserControls\mod_execCelle.ascx" />
@@ -4,6 +4,7 @@
<%@ Register Src="mod_execUDC.ascx" TagName="mod_execUDC" TagPrefix="uc2" %>
<%@ Register Src="mod_detailUDC.ascx" TagName="mod_detailUDC" TagPrefix="uc3" %>
<%@ Register src="mod_detailUDC_storico.ascx" tagname="mod_detailUDC_storico" tagprefix="uc4" %>
<%@ Register src="mod_detLDP.ascx" tagname="mod_detLDP" tagprefix="uc5" %>
<asp:Panel runat="server" ID="pnlSearchProvider" CssClass="PnlSearchProvider_1">
<div class="SearchProviderTitle_1">
<asp:Label runat="server" ID="lblSearchProvider" txt="---" />
@@ -18,6 +19,9 @@
<uc4:mod_detailUDC_storico ID="mod_detailUDC_storico1" runat="server" />
<uc2:mod_execUDC ID="mod_execUDC1" runat="server" />
</td>
<td valign="top">
<uc5:mod_detLDP ID="mod_detLDP1" runat="server" />
</td>
</tr>
</table>
</asp:Panel>
@@ -94,6 +94,7 @@ namespace GMW.WebUserControls
}
mod_detailUDC1.Visible = showCurUdc;
mod_detailUDC_storico1.Visible = showHistUdc;
mod_detLDP1.Visible = showCurUdc;
}
void mod_execUDC1_eh_nuovoValore(object sender, EventArgs e)
@@ -154,6 +155,7 @@ namespace GMW.WebUserControls
{
mod_detailUDC1.Visible = true;
mod_detailUDC1.doUpdate();
mod_detLDP1.doUpdate();
mod_execUDC1.Visible = !udcConsumato;
// salvo dati UDC selezionato... UDC_sel c'è già...
string UDC = memLayer.ML.StringSessionObj("UDC_sel");
+9
View File
@@ -65,5 +65,14 @@ namespace GMW.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GMW.WebUserControls.mod_execUDC mod_execUDC1;
/// <summary>
/// mod_detLDP1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GMW.WebUserControls.mod_detLDP mod_detLDP1;
}
}
+19
View File
@@ -0,0 +1,19 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_detLDP.ascx.cs" Inherits="GMW.WebUserControls.mod_detLDP" %>
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="CodLista,UDC" DataSourceID="ods" EnableModelValidation="True" CellPadding="4" ForeColor="#333333" GridLines="None">
<AlternatingRowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="White" />
<Columns>
<asp:BoundField DataField="CodLista" HeaderText="Lista di Prelievo" ReadOnly="True" SortExpression="CodLista" />
<asp:CheckBoxField DataField="Prelevato" HeaderText="prel." SortExpression="Prelevato" />
</Columns>
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByUdc" TypeName="GMW_data.DS_magazzinoTableAdapters.RigheListePrelievoTableAdapter">
<SelectParameters>
<asp:SessionParameter Name="UDC" Type="String" SessionField="UDC_sel" DefaultValue="UUU" />
</SelectParameters>
</asp:ObjectDataSource>
+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.WebUserControls
{
public partial class mod_detLDP : System.Web.UI.UserControl
{
public void doUpdate()
{
grView.DataBind();
}
}
}
+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.WebUserControls {
public partial class mod_detLDP {
/// <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;
}
}
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.