Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

telerik raddatepicker default date today wpf

Ok I have solved the problem. The binding DataType to the column is DateTime, which don't accept null values. Null values is what the GridView produces upon clicking add new row. When such thing happens, DateTime will auto return 01/01/0001, which is then passed to the RadDatePicker. The solution is to change the datatype to Nullable DateTime, which is 'DataType?'.
Source by www.telerik.com #
 
PREVIOUS NEXT
Tagged: #telerik #raddatepicker #default #date #today #wpf
ADD COMMENT
Topic
Name
2+9 =