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
95
Cannot select current date in DateTime column
posted

Hi,

I have a grid which binded to datatable. The value of date column in datatable is Null.

When I try to enter value to date column by dropdown the calendar i can see it default to current date and when i click current date again nothing happen, the value in cell still be null. But selecting any other date is ok.

I read some post about this issue that suggest to use DefaultCellValue, that doesn't work for me because there are populated data not adding new row.

Also i can't set the cell value to today in BeforeDropDown event because user might not actually want to select any value, put a value to cell will cause the dirty datatable.

Please help, I'm really stuck now.

Thank you inadvance.

Parents Reply Children
No Data