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 -

Python ctypes access violation with const pointer arguments -