UniGridFunctionsColoredSpanMsg Method (String, Boolean, Boolean) |
Returns colored message (default CSS classes) according to boolean value (success/fail).
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.2.23
Syntax public static string ColoredSpanMsg(
string msg,
bool success,
bool nullValue
)
Parameters
- msg
- Type: SystemString
Message - success
- Type: SystemBoolean
Value - nullValue
- Type: SystemBoolean
Allows to specify boolean value for null
Return Value
Type:
StringSee Also