Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
i am using DevExpress Grid Control in my desktop application Form. it has column From_Date. I made it editable and i enter the date via DateTimeEdit which is Grid's own. The problem is when i want to use keyboad Arrow Keys to change values of date time Picker in Grid Cell, It loses it focus to new row.. What property change or what code should i use to make changeable with arrow keys kindly Help....
Posted
Updated 8-May-12 2:16am

You can find a complete example in MSDN. There you can see, that you have to derive a control of your own and so you can intercept key actions by implementing EditingControlWantsInputKey method. It is not complicated an you have the full control over your hosted DatePicker's behaviour.
 
Share this answer
 
Comments
aliasad106 8-May-12 8:14am    
But can you tell me what should i do if i have to use deveExpress Grid Control and DevExpress DateEdit Control ?
Please help ! Millions of thanx in advance Smile | :)
Hi Ali

You have to set DataGridView's EditMode property to EditProgramatically.

Let me know if it doesn't solve your problem.
 
Share this answer
 
Comments
aliasad106 8-May-12 9:45am    
im not using .Net DataGridView control.. I am using DevExpress GridControl..
hello ali

you have select gridview select datagridview task to check enable editing.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900