Update x filtraggio ins tato collaudi SBAGLIATO (non deve filtrare...)

This commit is contained in:
Samuele E. Locatelli
2018-03-06 11:09:56 +01:00
parent 35154263f8
commit 409fa0c8cf
4 changed files with 24 additions and 2 deletions
@@ -158,6 +158,27 @@ namespace CMS_SC.WebUserControls
savePar("ddlSelScheda", "");
raiseEvent(ucEvType.Reset);
}
/// <summary>
/// Abilita o disabilita filtro su ODS..
/// </summary>
public bool enableFilter
{
get
{
return ods.FilterExpression != "";
}
set
{
if (value)
{
ods.FilterExpression = " Descrizione LIKE '%{0}%' OR DescrStato LIKE '%{0}%' OR CodScheda LIKE '%{0}%' ";
}
else
{
ods.FilterExpression = "";
}
}
}
}
}