Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
Showing RowEditTemplate with Keystroke
posted

The built-in options for showing the RowEditTemplate via RowEditTemplateUIType are OnEnterEditMode, OnDoubleClickRow, and RowSelectorImage. I am looking for a  way to use a Keystroke (KeyUp event?) to show the RowEditTemplate such that that the user can press a function key or something to get the template.

Any help would be appreciated.

Thanks.

 

 

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    The existing options are there to allow the user to show the RowEditTemplate through the grid's UI.

    If you just want to use a keystroke, then handle one of the Key events of the grid, like KeyPress or maybe KeyDown, and show the RET yourself in code.

    To do that, you simply call the ShowEditTemplate method on the grid row. In your case, you will probably want to use the grid's ActiveRow, I guess.

     

Reply Children
No Data