add reset search art

This commit is contained in:
Samuele Locatelli
2021-04-20 14:25:06 +02:00
parent 241e504dba
commit c3cfadc8be
3 changed files with 19 additions and 1 deletions
+4 -1
View File
@@ -7,12 +7,15 @@
<div class="col-12">
<b>Ordini Aperti</b>
</div>
<div class="col-5 textCondens pr-0">
<div class="col-5 textCondens">
<div class="input-group input-group-sm">
<div class="input-group-prepend">
<span class="input-group-text">Articolo</span>
</div>
<asp:TextBox runat="server" ID="txtCodArt" CssClass="form-control" AutoPostBack="true" />
<div class="input-group-append">
<asp:LinkButton runat="server" ID="lbtReset" class="btn btn-secondary" type="submit" OnClick="lbtReset_Click">X</asp:LinkButton>
</div>
</div>
</div>
<div class="col-7 textCondens pl-0">
@@ -101,6 +101,12 @@ namespace MP_MAG.WebUserControls
grView.DataBind();
}
protected void lbtReset_Click(object sender, EventArgs e)
{
txtCodArt.Text = "";
//grView.DataSource();
}
protected void Page_Load(object sender, EventArgs e)
{
}
@@ -23,6 +23,15 @@ namespace MP_MAG.WebUserControls
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtCodArt;
/// <summary>
/// lbtReset 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.LinkButton lbtReset;
/// <summary>
/// cmp_selPeriodoFuturo control.
/// </summary>