fix vari update ods x batch in caso di filtraggio/num righe cambiato

This commit is contained in:
Samuele E. Locatelli
2020-01-09 17:17:34 +01:00
parent fac1306c6c
commit af74e1bc58
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
</div>
<div class="col-6 text-right">
Filter status
<asp:DropDownList runat="server" ID="ddlStatus" AutoPostBack="true">
<asp:DropDownList runat="server" ID="ddlStatus" AutoPostBack="true" OnSelectedIndexChanged="ddlStatus_SelectedIndexChanged">
<asp:ListItem Selected="True" Text="-- Show All --" Value="-1"></asp:ListItem>
<asp:ListItem Text="Imported" Value="0"></asp:ListItem>
<asp:ListItem Text="Estimating Requested" Value="1"></asp:ListItem>
@@ -101,6 +101,7 @@ namespace NKC_WF.WebUserControls
{
// recupero num righe ed aggiorno...
grView.PageSize = cmp_numRow.numRow;
checkFixOds();
grView.DataBind();
}
@@ -221,5 +222,10 @@ namespace NKC_WF.WebUserControls
resetSelezione();
}
}
protected void ddlStatus_SelectedIndexChanged(object sender, EventArgs e)
{
checkFixOds();
}
}
}
+2 -2
View File
@@ -10,7 +10,7 @@
<a href="OrderManager" class="shortcut">
<i class="fa fa-file-text-o shortcut-icon"></i><span class="shortcut-label"><%: traduci("OrderManager") %></span>
</a>
<%-- <a href="KitRequestImporter" class="shortcut">
<a href="KitRequestImporter" class="shortcut">
<i class="fa fa-file-text-o shortcut-icon"></i><span class="shortcut-label"><%: traduci("KitManager") %></span>
</a>
<a href="StackManager" class="shortcut">
@@ -45,7 +45,7 @@
</a>
<a href="LabelsPrint" class="shortcut">
<i class="fa fa-print text-secondary shortcut-icon"></i><span class="shortcut-label"><%: traduci("LabelsPrint") %></span>
</a>--%>
</a>
</div>
</div>
</div>