AD
Administrator
Syncfusion Team
August 19, 2003 12:37 PM UTC
There is currently no support for using this control in a cell.
You would need to derive your own cell control to handle this. To get your control to handle keys like up arrow and down arrow, you would have to override ProcessKeyEventArgs. Instead of calling the baseclass (which passes things back to the grid), you need to call ProcessKeyEventArgs on the DateTimePicker control. In order to be able to do this, you have to derive the DateTimePicker and expose a public method that calls the OnProcessKeyEventArgs for the DateTimePicker.
This is the technique used in the Syncfusion\Essential Suite\Grid\Samples\In Depth\GridInCells sample to allow the embedded grid in the cell handle the keystrokes.