Closed ttaylor29 closed 6 years ago
I needed to set the actual html comment:
swal({
title: 'Failed to delete organization.',
html: data.errorMessage,
type: 'error',
showCancelButton: false
});
Shouldn't this work?
return Json(new { success = false, errorMessage = string.Format("MyMessage \n\n\n Testing") });