views:

43

answers:

1

I have a custom datepicker control inside a grid . It does not close and return to the grid when user presses enter or escape.

I have the javascript code for trapping the enter key, but I need the next line of Javascript that will close the control and return to the grid.

At present, I can only close the control by clicking on another control or by clicking once inside the control, then ENTER works.

Looking for Javascript that will provide same function for keyboard as mouse.

A: 

Resolved.

Third-party vendor ultimately provided a function to close the editor template control and return to the grid.

pghcpa
Choose this as the answer so this question can be closed/ignored.
Justin Johnson
Or better, remove it. It's useless.
Pedro Ladaria
Help me out here -- I tried to read the doc on this forum -- how do you delete a post? I would have happily done that.I will mark it answered.
pghcpa