Hi
Ali,
You can accomplish the desired goal by subscribing to the
KeyPress event of the input element used as an editor instead of the grid. For example if the last column has a definition similar to this.
ASPX:
you can open the next row by calling the below provided JavaScript.
JavaScript:
Note that the example uses a
RadTextBox as an editor but you should be able to achieve the same effect using other editor types as well.
As for the executing the provided logic in the
KeyDown event of the text box probably a JavaScript error is thrown which is breaking the logic. A possible reason for this is that the event is raised too early. If however the
KeyPress event is used you should not experience any problems.
Regards,
Angel Petrov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.