compeltata ricerca AL, install 640
This commit is contained in:
@@ -414,6 +414,7 @@
|
||||
<Content Include="PostTT.aspx" />
|
||||
<Content Include="POST_PRE_TT.aspx" />
|
||||
<Content Include="POST_PRE_TT_DT.aspx" />
|
||||
<Content Include="WebUserControls\mod_detailAL2UDC.ascx" />
|
||||
<Content Include="WebUserControls\mod_dummy.ascx" />
|
||||
<Content Include="WebUserControls\mod_listAL.ascx" />
|
||||
<Content Include="WebUserControls\mod_PostLiq_DT.ascx" />
|
||||
@@ -1055,6 +1056,13 @@
|
||||
<Compile Include="WebUserControls\mod_delibera.ascx.designer.cs">
|
||||
<DependentUpon>mod_delibera.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_detailAL2UDC.ascx.cs">
|
||||
<DependentUpon>mod_detailAL2UDC.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_detailAL2UDC.ascx.designer.cs">
|
||||
<DependentUpon>mod_detailAL2UDC.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_detailCelle.ascx.cs">
|
||||
<DependentUpon>mod_detailCelle.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
+8
-8
@@ -62,11 +62,13 @@
|
||||
<div class="content">
|
||||
<uc1:mod_SearchProvUDC ID="mod_SearchProvUDC1" runat="server" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<uc7:mod_SearchProvAL ID="mod_SearchProvAL1" runat="server" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<uc8:mod_SearchProvDtx ID="mod_SearchProvDtx1" runat="server" />
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<uc7:mod_SearchProvAL ID="mod_SearchProvAL1" runat="server" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<uc8:mod_SearchProvDtx ID="mod_SearchProvDtx1" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
<%--<br />
|
||||
<uc4:mod_SearchProvCelle ID="mod_SearchProvCelle1" runat="server" />
|
||||
@@ -74,9 +76,7 @@
|
||||
<uc6:Mod_SearchProvImballi ID="Mod_SearchProvImballi1" runat="server" />
|
||||
--%>
|
||||
</asp:Panel>
|
||||
<asp:Panel runat="server" ID="pnlEmpty" Height="100px">
|
||||
</asp:Panel>
|
||||
<div class="clearDiv" style="text-align: center; margin: auto;">
|
||||
<div class="row" style="text-align: center; margin: auto;">
|
||||
<uc3:mod_metodiNoSearch ID="mod_metodiNoSearch1" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -16,7 +16,6 @@ namespace GMW
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
doTraduci();
|
||||
pnlEmpty.Visible = true;
|
||||
pnlResults.Visible = true; //false;
|
||||
// se ho in URL la chiave "search" lo riporto come search...
|
||||
if (ricercaUrl != "")
|
||||
@@ -163,7 +162,6 @@ namespace GMW
|
||||
memLayer.ML.setSessionVal("SearchIsLikeBased", chkLikeType.Checked, false);
|
||||
if (txtRicerca != "")
|
||||
{
|
||||
pnlEmpty.Visible = false;
|
||||
pnlResults.Visible = true;
|
||||
if (chkLikeType.Checked)
|
||||
{
|
||||
@@ -235,7 +233,6 @@ namespace GMW
|
||||
else
|
||||
{
|
||||
memLayer.ML.emptySessionVal("FullSearchValue");
|
||||
pnlEmpty.Visible = true;
|
||||
pnlResults.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
Generated
-9
@@ -102,15 +102,6 @@ namespace GMW {
|
||||
/// </remarks>
|
||||
protected global::GMW.WebUserControls.mod_SearchProvDtx mod_SearchProvDtx1;
|
||||
|
||||
/// <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>
|
||||
/// mod_metodiNoSearch1 control.
|
||||
/// </summary>
|
||||
|
||||
@@ -2,20 +2,20 @@
|
||||
|
||||
<%@ Register src="mod_listAL.ascx" tagname="mod_listAL" tagprefix="uc1" %>
|
||||
|
||||
<%@ Register src="mod_detailAL2UDC.ascx" tagname="mod_detailAL2UDC" tagprefix="uc2" %>
|
||||
|
||||
<asp:Panel runat="server" ID="pnlSearchProvider" CssClass="panel panel-info panel-sm">
|
||||
<div class="panel-heading">
|
||||
<b>
|
||||
<asp:Label runat="server" ID="lblSearchProvider" txt="---" /></b>
|
||||
<asp:Label runat="server" ID="lblSearchProvider"><%: traduci("AL") %></asp:Label></b>
|
||||
</div>
|
||||
<div class="panel-body" style="background-color: #f1f1fa;">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="col-sm-8">
|
||||
<uc1:mod_listAL ID="mod_listAL1" runat="server" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
dettaglio UDC compresi in AL
|
||||
<%--<uc3:mod_detailParticolari ID="mod_detailParticolari1" runat="server" />
|
||||
<uc2:mod_execParticolari ID="mod_execParticolari1" runat="server" />--%>
|
||||
<div class="col-sm-4">
|
||||
<uc2:mod_detailAL2UDC ID="mod_detailAL2UDC1" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,6 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
doTraduci();
|
||||
#if false
|
||||
mod_execParticolari1.Visible = false;
|
||||
#endif
|
||||
@@ -114,13 +113,7 @@ namespace GMW.WebUserControls
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void doTraduci()
|
||||
{
|
||||
lblSearchProvider.Text = traduci("Particolari");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// Effettua la ricerca indicata
|
||||
/// </summary>
|
||||
public void doSearch()
|
||||
|
||||
@@ -38,5 +38,14 @@ namespace GMW.WebUserControls {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GMW.WebUserControls.mod_listAL mod_listAL1;
|
||||
|
||||
/// <summary>
|
||||
/// mod_detailAL2UDC1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GMW.WebUserControls.mod_detailAL2UDC mod_detailAL2UDC1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<asp:Panel runat="server" ID="pnlSearchProvider" CssClass="panel panel-info panel-sm">
|
||||
<div class="panel-heading">
|
||||
<b>
|
||||
<asp:Label runat="server" ID="lblSearchProvider" txt="---" /></b>
|
||||
<asp:Label runat="server" ID="lblSearchProvider"><%: traduci("Particolari") %></asp:Label></b>
|
||||
</div>
|
||||
<div class="panel-body" style="background-color: #f1f1fa;">
|
||||
<div class="row">
|
||||
|
||||
@@ -25,7 +25,6 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
doTraduci();
|
||||
mod_execParticolari1.Visible = false;
|
||||
memLayer.ML.setSessionVal("RicercaParticolariAttiva", false, false);
|
||||
}
|
||||
@@ -101,12 +100,6 @@ namespace GMW.WebUserControls
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void doTraduci()
|
||||
{
|
||||
lblSearchProvider.Text = traduci("Particolari");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Effettua la ricerca indicata
|
||||
/// </summary>
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
|
||||
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
|
||||
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
|
||||
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
|
||||
<Columns>
|
||||
<asp:BoundField DataField="CodAttr" HeaderText="Attr." ReadOnly="True" SortExpression="CodAttr" />
|
||||
<asp:BoundField DataField="ValAttr" HeaderText="Val." SortExpression="ValAttr" />
|
||||
<asp:BoundField DataField="DateAttr" HeaderText="Data" SortExpression="DateAttr" DataFormatString="{0:yy/MM/dd HH:mm}" />
|
||||
<%--<asp:BoundField DataField="CodSoggetto" HeaderText="Oper." SortExpression="CodSoggetto" />--%>
|
||||
</Columns>
|
||||
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByUdc" TypeName="GMW_data.DS_magazzinoTableAdapters.Attr2UDCTableAdapter">
|
||||
<SelectParameters>
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_detailAL2UDC.ascx.cs" Inherits="GMW.WebUserControls.mod_detailAL2UDC" %>
|
||||
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="AL,UDC">
|
||||
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
|
||||
<EditRowStyle BackColor="#999999" />
|
||||
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
|
||||
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
|
||||
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
|
||||
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
|
||||
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
|
||||
<Columns>
|
||||
<%-- <asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="btnReset" runat="server" OnClick="btnReset_Click" CssClass="btn btn-default btn-xs"><i class="glyphicon glyphicon-refresh"></i> <%: traduci("Reset") %></asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbSel" runat="server" CausesValidation="False" CommandName="Select" CssClass="text-success"><i class="glyphicon glyphicon-search btn-sm"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
<asp:TemplateField HeaderText="UDC" SortExpression="UDC">
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" ID="hlUDC" NavigateUrl='<%# string.Format("~/SearchMag.aspx?search={0}",Eval("UDC")) %>'><i class="glyphicon glyphicon-search"></i> <%# Eval("UDC") %></asp:HyperLink>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<%--<asp:BoundField DataField="DataCreaz" HeaderText="DataCreaz" SortExpression="DataCreaz" />
|
||||
<asp:BoundField DataField="CodSoggetto" HeaderText="CodSoggetto" SortExpression="CodSoggetto" />--%>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByAL" TypeName="GMW_data.DS_magazzinoTableAdapters.AL2UDCTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="AL" Name="AL" SessionField="AL_sel" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="didascalia" />
|
||||
<br />
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
@@ -0,0 +1,27 @@
|
||||
using SteamWare;
|
||||
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_detailAL2UDC : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// wrapper traduzione
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(object lemma)
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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_detailAL2UDC {
|
||||
|
||||
/// <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;
|
||||
|
||||
/// <summary>
|
||||
/// lblNumRec 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 lblNumRec;
|
||||
|
||||
/// <summary>
|
||||
/// lblWarning 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 lblWarning;
|
||||
}
|
||||
}
|
||||
@@ -26,10 +26,12 @@
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="AL" HeaderText="AL" ReadOnly="True" SortExpression="AL" />
|
||||
<asp:BoundField DataField="Cesta" HeaderText="Cesta" ReadOnly="True" SortExpression="Cesta" />
|
||||
<asp:CheckBoxField DataField="Attivo" HeaderText="Attivo" SortExpression="Attivo" />
|
||||
<asp:BoundField DataField="DataCreaz" HeaderText="DataCreaz" SortExpression="DataCreaz" />
|
||||
<asp:BoundField DataField="CodSoggetto" HeaderText="CodSoggetto" SortExpression="CodSoggetto" />
|
||||
<asp:TemplateField HeaderText="DataCreaz" SortExpression="DataCreaz">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("DataCreaz","{0:dd/MM/yy HH:mm}") %>' ToolTip='<%# Eval("CodSoggetto") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
@@ -39,7 +41,8 @@
|
||||
<asp:SessionParameter Name="AL" Type="String" SessionField="FullSearchValue" DefaultValue="AL" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="didascalia" />
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="didascalia" />
|
||||
<br />
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
|
||||
</div>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user