c# - How to set DateTime field as not required? -


i have entity datetime property not required. when form submitted validation fails if feld left blank. have set

clientvalidationenabled = false 

but validation still fails.

you need set field nullable.

the clientvalidationenabled related using javascript validate fields.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

powershell - "Invalid JSON primitive" error when converting JSON file -

Using Jetbrains Youtrack + TeamCity + TFS -