Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
775
Preventing a blank date field
posted

Hi,

I have a wingrid bound to a table that has some date columns. For one of the date columns, I want to allow the user to change the date, but to never blank it out.  Is there a property setting either on the grid, row, column or cell that I can set that will prevent this from happening? I'm trying to achieve this without having to write any underlying code to get this to happen.

I also have this same sort of issue with a date/time control field on a form. My assumption there is that I only need to set the Nullable property to false for the date/time control and that should prevent the user from blanking out the date/time field on the form. 

NOTE: I did notice that on the wingrid there is a Nullable propery for the column, but it appears to only control how null values get saved to the db, not to prevent a null value from being set in the column.

Any help you can give in regards to this would be greatly appreciated

Thank you!

Steve

Parents Reply Children
No Data