I have the following:
- CSHTML page with an Ajax.BeginForm containing a number of EJS controls
- HttpMethod = "POST"
- Post works correctly and packages the fields and values up correctly
- The Controller method has this parameter: DateTime?[] DateRangeFixed
However, when I look at the Form Post data in the browser debug, I sometimes see the array doesn't have correctly formed dates in (and server side the array is empty):
This seems to be related to refreshing the page, and carrying out a second post. Has this been reported before?
Even when it works first time, C# can't cope with the date formatting / cultures. I understand why cultures is additional configuration, but very frustrating when you just want a couple of dates available server side.