Inizio fix collaudi con filtro su fase = STATO ATTIVI....
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
+17
-25
@@ -22,39 +22,31 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" style="font-size: 0.8em;">
|
||||
<div class="col-xs-1">
|
||||
<asp:DropDownList runat="server" ID="ddlStato" DataSourceID="odsStato" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlStato_SelectedIndexChanged"></asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsStato" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="ElencoDossier" Name="TableName" Type="string" />
|
||||
<asp:Parameter DefaultValue="Stato" Name="FieldName" Type="string" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<div class="col-xs-2">
|
||||
<asp:DropDownList runat="server" ID="ddlFase" DataSourceID="odsFase" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlFase_SelectedIndexChanged" OnDataBound="ddlFase_DataBound">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsFase" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selFasiTableAdapter"></asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<div class="col-xs-4">
|
||||
<asp:DropDownList runat="server" ID="ddlDossier" DataSourceID="odsDossier" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlDossier_SelectedIndexChanged"></asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsDossier" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByConditio" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selElencoDossierTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddlStato" Name="conditio" PropertyName="SelectedValue" Type="String" />
|
||||
<asp:ControlParameter ControlID="ddlFase" Name="conditio" PropertyName="SelectedValue" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:DropDownList runat="server" ID="ddlSelScheda" DataSourceID="odsScheda" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlSelScheda_SelectedIndexChanged" Width="60%"></asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsScheda" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByConditio" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selSchedaTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddlDossier" Name="conditio" PropertyName="SelectedValue" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HyperLink runat="server" ID="hlDoc" Width="35%" Target="_blank"><i class="fa fa-external-link fa-2x"></i></asp:HyperLink>
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
<%--<asp:DropDownList runat="server" ID="ddlFase" DataSourceID="odsFase" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlFase_SelectedIndexChanged" OnDataBound="ddlFase_DataBound" AppendDataBoundItems="true">
|
||||
<asp:ListItem Text="Tutte" Value=""></asp:ListItem>
|
||||
</asp:DropDownList>--%>
|
||||
<asp:DropDownList runat="server" ID="ddlFase" DataSourceID="odsFase" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlFase_SelectedIndexChanged" OnDataBound="ddlFase_DataBound">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsFase" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selFasiTableAdapter"></asp:ObjectDataSource>
|
||||
<div style="width: 90%; float: left;">
|
||||
<asp:DropDownList runat="server" ID="ddlSelScheda" DataSourceID="odsScheda" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlSelScheda_SelectedIndexChanged" Width="100%"></asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsScheda" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByConditio" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selSchedaTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddlDossier" Name="conditio" PropertyName="SelectedValue" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div style="width: 10%; float: right;" class="text-right;">
|
||||
<asp:HyperLink runat="server" ID="hlDoc" Target="_blank"><i class="fa fa-external-link fa-2x"></i></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -18,6 +18,9 @@ namespace CMS_SC
|
||||
((Bootstrap)this.Master).showSearch = true;
|
||||
mod_righePag.numRowPag = 20;
|
||||
mod_collaudi.pageSize = mod_righePag.numRowPag;
|
||||
ddlFase.DataBind();
|
||||
ddlDossier.DataBind();
|
||||
ddlSelScheda.DataBind();
|
||||
fixControls();
|
||||
}
|
||||
mod_righePag.eh_newNum += mod_righePag_eh_newNum;
|
||||
@@ -110,12 +113,14 @@ namespace CMS_SC
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
#if false
|
||||
protected void ddlStato_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
ddlDossier.DataBind();
|
||||
ddlSelScheda.DataBind();
|
||||
fixControls();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
protected void ddlDossier_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
ddlSelScheda.DataBind();
|
||||
@@ -127,6 +132,8 @@ namespace CMS_SC
|
||||
}
|
||||
protected void ddlFase_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
ddlDossier.DataBind();
|
||||
ddlSelScheda.DataBind();
|
||||
fixControls();
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
Generated
+4
-22
@@ -22,22 +22,22 @@ namespace CMS_SC {
|
||||
protected global::System.Web.UI.WebControls.Button btnAddNewSetMis;
|
||||
|
||||
/// <summary>
|
||||
/// ddlStato control.
|
||||
/// ddlFase 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.DropDownList ddlStato;
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlFase;
|
||||
|
||||
/// <summary>
|
||||
/// odsStato control.
|
||||
/// odsFase 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 odsStato;
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsFase;
|
||||
|
||||
/// <summary>
|
||||
/// ddlDossier control.
|
||||
@@ -84,24 +84,6 @@ namespace CMS_SC {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HyperLink hlDoc;
|
||||
|
||||
/// <summary>
|
||||
/// ddlFase 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.DropDownList ddlFase;
|
||||
|
||||
/// <summary>
|
||||
/// odsFase 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 odsFase;
|
||||
|
||||
/// <summary>
|
||||
/// mod_collaudi control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("1.8.063.349")]
|
||||
[assembly: AssemblyFileVersion("1.8.063.349")]
|
||||
[assembly: AssemblyVersion("1.8.065.349")]
|
||||
[assembly: AssemblyFileVersion("1.8.065.349")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2009-2015")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("1.8.063.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("1.8.063.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("1.8.065.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("1.8.065.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2009-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user