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 -

c++ - libcurl curl_easy_setopt "Unknown error" -

vb6 - PostgreSQL ODBC Connection SSPI Authentication Failure -