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
4133
EditorControl Events
posted

I have my own textbox that I would like to use as an editor control in the grid.  I have code in the KeyPress event of my textbox.  When I assign the EditorControl property of a given cell to the textbox, it seems to appear properly.  However, my KeyPress event never fires.  I assume the grid is probably blocking certain events.  Is there a way to use my KeyPress event code in this situation?

 

Parents
  • 469350
    Verified Answer
    Offline posted

     Hi Richard,

        No, when you assign the EditorControl property of a column or cell, the grid does not actually use the Control you assign. The editor control merely provides a copy of it's internal editor for the gid to use. So no key events actually take place on the editor control, only the grid gets key events. 

Reply Children