This commit is contained in:
Samuele Locatelli
2022-10-19 20:07:36 +02:00
3 changed files with 20 additions and 2 deletions
+1
View File
@@ -25,6 +25,7 @@ namespace MP.SPEC.Data
public int NumRec { get; set; } = 10;
public int TotCount { get; set; } = 0;
public int MaxRecord { get; set; } = 100;
public bool isEditing { get; set; } = false;
#endregion Public Properties
+1 -1
View File
@@ -54,7 +54,7 @@
</div>
</div>
</div>
<div class="row pt-4">
<div class="row pt-4 " >
<div class="col-3 pe-0">
</div>
<div class="col-3 pe-0">
+18 -1
View File
@@ -105,6 +105,19 @@ namespace MP.SPEC.Pages
}
}
private string css()
{
string answ = "";
if (isEditing == false)
{
answ = "disabled";
}
else
{
answ = "enabled";
}
return answ;
}
protected void updateTotal(int newTotCount)
{
@@ -144,7 +157,11 @@ namespace MP.SPEC.Pages
get => currFilter.NumRec;
set => currFilter.NumRec = value;
}
private bool isEditing
{
get => currFilter.isEditing;
set => currFilter.isEditing = value;
}
private int totalCount
{
get => currFilter.TotCount;