You are correct - there is no such column as GridViewDateTimeColumn
. However, you can create one by following the Create Custom DateTimePicker Column tutorial
. In addition, you will need to create a class that derives from GridViewBoundColumnBase
and override the CreateCellEditElement()
method. For example you can do something like the following:
DateTimePickerColumn : GridViewBoundColumnBase
FrameworkElement CreateCellEditElement(GridViewCell cell,
.BindingTarget = DateTimePicker.SelectedDateProperty;
var picker =
var valueBinding =
valueBinding.Mode = BindingMode.TwoWay;
valueBinding.UpdateSourceTrigger = UpdateSourceTrigger.Explicit;
I attached a sample project that demonstrated the suggested approach.
Please examine the attached project and let us know how it goes.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.