fix errore sel permessi
This commit is contained in:
@@ -50,6 +50,36 @@ namespace GPW_Admin.WebUserControls
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Messaggio toggle Off
|
||||
/// </summary>
|
||||
public string messageOff
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfMessageOff.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfMessageOff.Value = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Messaggio toggle ON
|
||||
/// </summary>
|
||||
public string messageOn
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfMessageOn.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfMessageOn.Value = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// valore toggle
|
||||
/// </summary>
|
||||
@@ -115,6 +145,7 @@ namespace GPW_Admin.WebUserControls
|
||||
bool doShow = toggleValue;
|
||||
lbtToggleOn.Visible = doShow;
|
||||
lbtToggleOff.Visible = !doShow;
|
||||
lblMessage.Text = doShow ? messageOn : messageOff;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
Reference in New Issue
Block a user