Base solution for your next web application
Open Closed

Validation Error on Localised DateTime Field - PowerTools Entity Generator #8979


User avatar
0
okains created

Hi, I am developing a product that will support both English and Burmese languages out of the box. I created a simple entity that has a string, decimal and datetime field to test scaffolding and localisation. I have started localisation testing and I am getting a validation error on the generated datetime control when I attempt to EDIT an existing entity or CREATE a new Burmese language entity. It seems to be localising this control by default, which would be OK if the validation worked, however it doesn't really need to be localised.

Does anyone have any experience with this scenario? Where do I go to control the validation process for each control? Or, is there a way to switch off localisation for datetime controls that are scaffolded? The decimal field values are not localised in this case, which is fine, but the datetime values are.

Have attached a screenshot here for clarity, any help would be much appreciated, I am new to ASPNETZERO and trying to get up to speed as quickly as possible.

Thanks,

Karim


1 Answer(s)