Hi Emanuel,
I tested your code for FADateTimePicker. It embeds the control to the cell.
But still there are some problems:
1. When clicking inside the cell this error occurs: 'Object reference not set to an instance of an object.' this error raises because of this line of your code: dateTimePicker.SelectedDateTime = (DateTime)activeEditor.Value;
2. When clicking the calendar's combobox to open the dropdown list to choose date, the list does not drop down. You must press Enter to open the Date Picker.
3. After selecting the date the contents of the cell must be the same as the host control that is:
CellContents=FADateTimePicker.SelectedDateTime.
4. User must enter to the cell to make the calendar visible, while I want the calendar to be visible for each cell of the column when the form loads.
Thank you Emanuel, I will not forget your name because of your KIND Attention.
Sincerly, Tooraj Azizi.
I tested your code for FADateTimePicker. It embeds the control to the cell.
But still there are some problems:
1. When clicking inside the cell this error occurs: 'Object reference not set to an instance of an object.' this error raises because of this line of your code: dateTimePicker.SelectedDateTime = (DateTime)activeEditor.Value;
2. When clicking the calendar's combobox to open the dropdown list to choose date, the list does not drop down. You must press Enter to open the Date Picker.
3. After selecting the date the contents of the cell must be the same as the host control that is:
CellContents=FADateTimePicker.SelectedDateTime.
4. User must enter to the cell to make the calendar visible, while I want the calendar to be visible for each cell of the column when the form loads.
Thank you Emanuel, I will not forget your name because of your KIND Attention.
Sincerly, Tooraj Azizi.