You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.
I have create a simple MVC project and I am POSTing a DateTime value.
My model is never validated when I use your CultureSensitiveActionFilterAttribute to set the culture.
It seem that Model binding is exceuted before the action filter. The solution seems to create an IControllerActivator instead of an Action Filter. It would be great if you add the activator inside your nuget package.
Hi, if you think it's a valid contribution for this package - and as far as I understand its optional and you can opt-in for it - I would suggest you to go for a PR.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have create a simple MVC project and I am POSTing a DateTime value.
My model is never validated when I use your
CultureSensitiveActionFilterAttribute
to set the culture.It seem that Model binding is exceuted before the action filter. The solution seems to create an IControllerActivator instead of an Action Filter. It would be great if you add the activator inside your nuget package.
Here the solution I have found:
https://stackoverflow.com/questions/8226514/best-place-to-set-currentculture-for-multilingual-asp-net-mvc-web-applications
What do you think?
Thank you
The text was updated successfully, but these errors were encountered: