Aggiunto controllo valori nulli dizionario PendReq
This commit is contained in:
@@ -126,7 +126,8 @@ namespace WebWindowComplex.Compo
|
||||
protected string cssValid(string fKey)
|
||||
{
|
||||
string ans = "";
|
||||
if (ListWarnings.ContainsKey(fKey) || DictPendReq.ContainsKey(fKey))
|
||||
if (ListWarnings != null && DictPendReq != null &&
|
||||
(ListWarnings.ContainsKey(fKey) || DictPendReq.ContainsKey(fKey)))
|
||||
ans = "border border-danger";
|
||||
else
|
||||
ans = "";
|
||||
|
||||
Reference in New Issue
Block a user