Ok after switching CustomErrors from Off to On the behavior is ok.
Thank you
Here is my config:
<customErrors mode="Off">
<error statusCode="404" redirect="~/Error/E404" />
</customErrors>
After further investigation (add symbol from Abp boilerplate framework in order to debug OnException override method in AbpController):
// If custom errors are disabled, we need to let the normal ASP.NET exception handler
// execute so that the user can see useful debugging information.
if (!context.HttpContext.IsCustomErrorEnabled)
{
base.OnException(context);
return;
}
IsCustomErrorEnabled is false.
What define is this boolean value is false or true?
On my project, I added jquery-validate-unobstrusive.js and for the popup I was needed to trigger manual validation (in the init function) :
//Setup unobtrusive validation at client side if (!_$roomForm.data('unobtrusiveValidation')) { $.validator.unobtrusive.parse('form[name=RoomForm]'); _$roomForm.data('unobtrusiveValidation').validate({ ignore: "" }); }
Yeah didn't know about this existing attribute
It's working, I was tired and set a wrong key in the attribute key value :oops:
Do you have similar attribute for required and string length attributes that can be localized ?
Thank for the help
any idea ?