This is a migrated thread and some comments may be shown as answers.

Disable Down Key to open calendar control

1 Answer 34 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 09 Aug 2011, 07:18 PM
Hi, it seems that the down key by default will open the calendar control.  Is there a way to disable this?  I have a scenario where i have a datepicker in a column in a grid and i need to retain the ability when i hit the down key to move to the next row and we dont care if the down key opens the calendar.

1 Answer, 1 is accepted

Sort by
0
Jason
Top achievements
Rank 1
answered on 11 Aug 2011, 03:32 PM
Nevermind, ive figured it out.  override ProcessKey and dont call the base if its key.down
Tags
DatePicker
Asked by
Jason
Top achievements
Rank 1
Answers by
Jason
Top achievements
Rank 1
Share this question
or