inserito buttonx update filtro macchine/reparti
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -18,10 +18,7 @@
|
||||
<asp:TextBox runat="server" ID="txtCercaImpianti" Width="8em" Text="*" AutoPostBack="True" />
|
||||
</div>
|
||||
<div>
|
||||
<asp:ListBox ID="listImpianti" runat="server" DataSourceID="odsImpianti"
|
||||
SelectionMode="Multiple" DataTextField="label" DataValueField="value" Height="40em"
|
||||
Width="350px" BackColor="#ddeeff" Font-Size="8pt" OnSelectedIndexChanged="listImpianti_SelectedIndexChanged"
|
||||
OnDataBound="listImpianti_DataBound" />
|
||||
<asp:ListBox ID="listImpianti" runat="server" DataSourceID="odsImpianti" SelectionMode="Multiple" DataTextField="label" DataValueField="value" Height="40em" Width="350px" BackColor="#ddeeff" Font-Size="8pt" OnSelectedIndexChanged="listImpianti_SelectedIndexChanged" OnDataBound="listImpianti_DataBound" />
|
||||
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="GetData" TypeName="GIM_dataLayer.DS_utilityTableAdapters.v_selImpiantiTableAdapter"
|
||||
FilterExpression="label LIKE '%{0}%'">
|
||||
@@ -40,10 +37,7 @@
|
||||
<asp:TextBox runat="server" ID="txtCercaMacchine" Width="8em" Text="*" AutoPostBack="True" />
|
||||
</div>
|
||||
<div>
|
||||
<asp:ListBox ID="listMacchine" runat="server" DataSourceID="odsMacchine"
|
||||
SelectionMode="Multiple" DataTextField="label" DataValueField="value" Height="40em"
|
||||
Width="450px" BackColor="#ddffee" Font-Size="8pt" OnSelectedIndexChanged="listMacchine_SelectedIndexChanged"
|
||||
OnDataBound="listMacchine_DataBound" />
|
||||
<asp:ListBox ID="listMacchine" runat="server" DataSourceID="odsMacchine" SelectionMode="Multiple" DataTextField="label" DataValueField="value" Height="40em" Width="450px" BackColor="#ddffee" Font-Size="8pt" OnSelectedIndexChanged="listMacchine_SelectedIndexChanged" OnDataBound="listMacchine_DataBound" />
|
||||
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="GetData" TypeName="GIM_dataLayer.DS_utilityTableAdapters.v_selMacchineTableAdapter"
|
||||
FilterExpression="label LIKE '%{0}%'">
|
||||
@@ -70,9 +64,12 @@
|
||||
<asp:CheckBox ID="chkShowMtzPrev" runat="server" Checked="true" AutoPostBack="True"
|
||||
OnCheckedChanged="chkShowMtzPrev_CheckedChanged" />
|
||||
</div>
|
||||
<div style="margin-left: 10px;">
|
||||
<asp:Button runat="server" ID="btnSaveFiltro" CssClass="btn btn-success" Text="Update filtro" OnClick="btnSaveFiltro_Click" Width="100%" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="font-size: 8pt; clear: both; text-align: center; vertical-align: top; padding: 20px 2px; background-color: #E5E2E1; height: 200px;" class="bg_plus">
|
||||
<div style="font-size: 8pt; clear: both; text-align: center; vertical-align: top; padding: 20px 2px; background-color: #E5E2E1; height: 200px;" class="bg_plus">
|
||||
<div style="border: 1px solid gray; float: left; height: 180px;">
|
||||
<div style="clear: both; height: 160px;">
|
||||
<div style="float: left; width: 250px; margin: -10px 10px -2px 10px;">
|
||||
|
||||
@@ -227,6 +227,17 @@ public partial class mod_reportInterventi : System.Web.UI.UserControl
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// salva filtro impianti/macchine
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnSaveFiltro_Click(object sender, EventArgs e)
|
||||
{
|
||||
generaFiltroImpianti();
|
||||
generaFiltroMacchine();
|
||||
}
|
||||
|
||||
#region checkbox
|
||||
/// <summary>
|
||||
/// evento check mtz pre
|
||||
@@ -261,7 +272,7 @@ public partial class mod_reportInterventi : System.Web.UI.UserControl
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -137,6 +137,15 @@ public partial class mod_reportInterventi {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.CheckBox chkShowMtzPrev;
|
||||
|
||||
/// <summary>
|
||||
/// btnSaveFiltro 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 btnSaveFiltro;
|
||||
|
||||
/// <summary>
|
||||
/// lblReportInterventi control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user